Whats the difference between primitive types and arrays?
Primitive data types are containers that hold references to fundamental numeric, logical, byte and character literal data and are built-in to the Java language and runtime system. They are called primitive because they have a relatively simple physical storage format and size. Primitives are not Java objects and objects cannot be cast to a type that could be stored in a primitive variable.