Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are class,constructor and primitive data types?

Answer Posted / janet

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.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between a threads start() and run() methods? : Java thread

1015


What are extraneous variables examples?

1103


What is the difference between stored procedure & function?

972


What does %d do in java?

1053


Why is sizeof not a function?

1002


Explain all java features with real time examples

1724


What's the purpose of using break in each case of switch statement?

983


Why is it important to initialize a variable?

997


What is final method?

1073


What do you understand by the bean persistent property?

1010


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2109


Which types of exceptions are caught at compile time?

1036


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

990


What is meant by oops concept in java?

998


What is overloading and overriding in java?

1229