Java Types and Values
Types
- Primitive types:
int short long byte
char float double boolean
- Class types
- Interface types
- Array types
- The null type
- Note: void is not a type
Java Values
- value of primitive type
- reference to object of class type
- reference to array
- null
- Note: Can't have value of interface type
previous |
start |
next .... [Slide 3] ....