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

What are the Differentiate between abstraction and encapsulation.

491


explain dynamic binding

536


What is the difference between a virtual method and an abstract method?

538


Name some languages which have object oriented language and characteristics?

569


What is operator overloading?

725






Explain the rationale behind object oriented concepts?

602


Write down how will you create a Binary tree?

606


What is polymorphism? When is it employed? give an example.

564


What do you mean by abstract class?

572


What are the types of polymorphism?

566


What is data abstraction? what are the three levels of data abstraction with Example?

572


What is an interface?

598


What is early and late Binding?

579


What is ‘this’ pointer?

574


What are the different types of arguments?

593