Home > DeveloperSection > Interviews > What are Class, Constructor and Primitive data types?

Posted on    October-25-2010 12:00 AM

 Java Java 
 1 Answer(s)
  1319  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Posted on    November-08-2010 1:00 AM

A class is a template or prototype that defines the variables and the methods common to all objects of a certain kind.

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:

Don't want to miss updates? Please click the below button!

Follow MindStick