Example & Tutorial understanding programming in easy ways.

What are Class, Constructor and Primitive data types?

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.Constructor has no return type. The name of constructor is same as class name. Primitive data types are 8 types and they are: byte, short, int, long, float, double, Boolean, char. 

Read More →