(It is not possible in Java to create user-defined value
types). Java has eight
primitive types: byte , short , int , long , char , boolean , float and double . Anything else is a non-
primitive type. ... It
can only
represent one single value.
read more >>