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 is difference between class and object?

Answers were Sorted based on User's Feedback



what is difference between class and object?..

Answer / annie

Object is a real world entity.It can be similar to any single real thing of this world regardless of living and non-living thing,e.g.,a parrot or a room.
When objects that share similar features like behaviour,characteristics..etc. when grouped together can be termed as a class, e.g.,parrot can be an object of class bird, and room can be a object of class building.

Is This Answer Correct ?    1 Yes 2 No

what is difference between class and object?..

Answer / shweta

class is a basically collection of object.its also called as
a blueprint of object and object is a instance of a
class.for eg.men is a class ans jay,raj is a member of a class.

Is This Answer Correct ?    0 Yes 1 No

what is difference between class and object?..

Answer / ravinderreddyk

Class:Class is a collection of similar objects.
Object:Object is a instance of class

Is This Answer Correct ?    0 Yes 1 No

what is difference between class and object?..

Answer / santosh

objects basic runtime entities.object tack up space in memory.
when program executed the objects are sending messages each other.

class contain so many objects.class is set of data members and member functions.we invoke class must create object.

Is This Answer Correct ?    0 Yes 2 No

what is difference between class and object?..

Answer / bala prasad

class is a collection of methods and static& non static
variables.
Object is the super class of all classes. Object is used to
access non static members of a class.

Is This Answer Correct ?    0 Yes 3 No

what is difference between class and object?..

Answer / monojit halder

we can not create a or many class from a object
but we can create a or many object from a class

Is This Answer Correct ?    6 Yes 10 No

what is difference between class and object?..

Answer / gurunath

Guys it's very simple.
Say fruits is a class then apples,mangoes....etc will
become objects.

Is This Answer Correct ?    9 Yes 13 No

what is difference between class and object?..

Answer / bharti kishnani

class is a collection of methods..
wereas through the objects we can call any method of that
class

Is This Answer Correct ?    1 Yes 5 No

what is difference between class and object?..

Answer / rg sir

class is nothing but object is everything it depend on
satuation.
for example : if a mouse is a class then its all parts may
be object .

Is This Answer Correct ?    0 Yes 6 No

what is difference between class and object?..

Answer / mantu mahapatra

class can exist without object, like model of a car can
exist without car.

object can't exist without class , like model of a car
can't exist without car.

which is physically exist in the real world that is known
as object and there logical Existence is known as class

Is This Answer Correct ?    4 Yes 11 No

Post New Answer

More Core Java Interview Questions

Can you call a constructor within a constructor?

7 Answers  


What is unsigned char?

0 Answers  


what is the difference between static block and static method

19 Answers   Huawei,


What are thread safe functions?

0 Answers  


How can a class be accessed, If no access modifiers are declared?

4 Answers  


Is 0 true or is 1 true?

0 Answers  


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

0 Answers   Manhattan,


What are exception handling keywords in java?

0 Answers  


What do you mean by an interface in java?

0 Answers  


Difference between Applet & Application?

6 Answers  


What is return used for in java?

0 Answers  


why we cannot declare static variable inside a static method

4 Answers  


Categories