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...

Is class an Object? Is object a class?

Answer Posted / vasir

Class is not an object. An object is an entity that is
allocated memory during runtime to do certain operation
whereas Class is just a skeleton or representation of the
object. We say design a class and not create a class. We
can only design a class ( attributes and behaviour ).
In brief we can say class is a Type of an object.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to differentiate between a CreateObject() and GetObject() ?

959


What is a default method? Why do we need default methods in java 8 interfaces?

992


Which OOPS concept exposes only the necessary information to the calling functions?

1249


What are all the operators that cannot be overloaded?

916


Explain what is meant by polymorphism?

1001


What is single and multiple inheritance?

943


Difference between composition and inheritance ?

912


Do we require a parameter for constructors?

947


What is polymorphism and abstraction?

1013


Explain static binding

948


If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

898


Difference between class and an object?

923


What's the order of call of constructors in inheritiance?

916


What is the practical implementation of inner classes?

901


What is the default access specifier in a class definition?

947