Is class an Object? Is object a class?

Answer Posted / anum abbas

A class is just a template that is used to create the
objects and to define its behaviours.

But object is an instance of a class.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an interface contain fields?

780


Explain persistence?

768


What is the significance of encapsulation?

770


What is the difference between an Abstract class and Interface?

821


what is virtual function and pure virtual function ?

763


Explain about overriding polymorphism?

828


What is the difference between aggregation and composition?

723


Is iterator a class or interface? What is its use?

733


How do you prevent a class from being inherited by another class?

813


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

801


Why is OOP good?

775


Can we reduce the visibility of the inherited or overridden method ?

811


What is the difference between a class and an object?

1101


What is super keyword?

737


Can a class implement two interfaces having default method with same name and signature?

792