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?

Answers were Sorted based on User's Feedback



what are class,constructor and primitive data types?..

Answer / 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

what are class,constructor and primitive data types?..

Answer / ravikiran

class is a template for members and methods to be places
constructor is used to initialize the instance variables.
primitive datatypes are the memory holders for diffrent
type of data to hold

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

Garbage collection in java?

0 Answers  


Differentiate jar and war files?

0 Answers  


what is prepare statement? what is calabedtarement?

1 Answers   Symphony,


Why stringbuilder is not thread safe?

0 Answers  


What are listeners in java and explain ?

2 Answers   TCS,


What is the difference between abstraction and encapsulation?

0 Answers  


What is the protected method modifier?

0 Answers  


What is better- service oriented or batch oriented solutions?

0 Answers   Amdocs,


Define reflection.

0 Answers  


Memory management in JAVA

3 Answers   Tech Mahindra, Wipro,


How many characters is 16 bytes?

0 Answers  


Is java hashset ordered?

0 Answers  


Categories