COP 3502 Lecture Notes - Lecture 2: Integer Literal, Camel Case, Semicolon

86 views4 pages

Document Summary

Variable : a memory location used to store data. Variable declarations include: data type, identifier, optional assignment operator ( = sign; value to the right is assigned to variable on left) and value, and ending semicolon, and can only include: letters, digits, underscores, and dollar signs. Can not be java reserved keyword, or true, false, or null. Address : where a variable"s memory location is. A largest value that an integer variable can hold is +2 billion, or -2 billion. Data type: a type of data that can be stored. What types of operations can be performed on data. Include the variable, along with an initialized value. this stores the right-side term"s value into the variable on the left. int is not included in these. Can be any number, variable, or simple calculations using standard math operations. Style used by companies, teams, or teachers to input identifiers. Meaningful names make programs easier to maintain.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents