|
|
-
Java is strongly typed. Every declared variable must have a type.
-
Java has eight primitive types. Basically, everything starts with
a primitive.
-
Objects are not primitives, but they are composed of primitives.
-
Many of the primitive types have classes (that can be instantiated into
objects) that complement them.
- Java 5.0 gave us auto boxing and auto unboxing, which allows us to easily convert between primitives and their wrapper classes.
|