CSCI 1301 Lecture Notes - Lecture 3: Pariah Dog, Increment And Decrement Operators, Double You

34 views16 pages

Document Summary

There are only 8 primitive data types in java: For example, both byte and int store whole numbers. We know exactly how many bytes are used to store a short and what it can represent. If the possible values for your data fall within the range of a short, then using a short uses less memory (more efficient). Also, it allows errors to be caught by the compiler it prevents us from adding apples and oranges (or int and boolean values); The unique numerical identifier associated with each tweet exceeded the limit of 32-bit signed integers. Variable: int x = 3; //

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