Why is a class called a user defined data type?
Question : Why is a class called a user defined data type?
Primitive data types are the general and fundamental data types that we have in Java and those
are byte, short, int, long, float, double, char, boolean, etc., User defined data types are those
that user / programmer himself defines.