Solution:
int
, long
, byte
, double
etc.Object
types are types that have classes (which extend Object.class
) and can be instantiated with the new
keyword (if there's an appropriate constructor). The object types are usually complex types, a composition of properties and methods that take up a bigger chunk of the memory.