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

How do we implement serialization actually?

680


What is the use if instanceof keyword? And how do refer to a current instance of object?

704


Can you use virtual, override or abstract keywords on an accessor of a static property?

702


What is constructor and virtual function? Can we call virtual funciton in a constructor?

764


What are sealed modifiers?

774






Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?

754


explain dynamic binding

731


What are manipulators?

793


What is the difference between data hiding and implementation?

733


Can different parts of a partial class inherit from different interfaces?

722


Why are outlet connections required in object-oriented programming?

741


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

738


What is virtual?

899


Why do we use oops concepts? What is its advantage?

721


Explain persistence?

736