Data types in Java
Java has two main data types (Primitive and Non-Primitive)
Primitive data types in Java
byte, short, int, long, double , float and boolean.
Non-Primitive data types in Java :
Any data type which is not a Primitive is an Object and called Non-primitive.
String, Array, Employee, Animal etc