Class Type in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Class Type in Java

What does it mean by special class types in Java?

28th Mar 2018, 6:12 PM
kowshik gunguly
kowshik gunguly - avatar
1 Answer
+ 4
As you probably already know, Java classes are created for solving object oriented problems. Thus, any object of a class has the “class” type. Since an object of a class is more complicated as compared to a simple boolean, integer or other primitive type, therefore, a variable naming an object is identified to be a class type.
28th Mar 2018, 6:40 PM
Baraa AB
Baraa AB - avatar