1.

What Are Class, Constructor And Primitive Data Types?

Answer»

Class is a template for multiple OBJECTS with similar features and it is a blue print for objects. It DEFINES a type of object according to the data the object can hold and the operations the object can perform. Constructor is a special kind of method that determines how an object is initialized when created. Primitive data types are 8 types and they are: BYTE, short, int, long, float, double, boolean, CHAR.

Class is a template for multiple objects with similar features and it is a blue print for objects. It defines a type of object according to the data the object can hold and the operations the object can perform. Constructor is a special kind of method that determines how an object is initialized when created. Primitive data types are 8 types and they are: byte, short, int, long, float, double, boolean, char.



Discussion

No Comment Found