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
Can an interface contain fields?
Explain persistence?
What is the significance of encapsulation?
What is the difference between an Abstract class and Interface?
what is virtual function and pure virtual function ?
Explain about overriding polymorphism?
What is the difference between aggregation and composition?
Is iterator a class or interface? What is its use?
How do you prevent a class from being inherited by another class?
Which oops concept exposes only necessary information to the calling functions?
Why is OOP good?
Can we reduce the visibility of the inherited or overridden method ?
What is the difference between a class and an object?
What is super keyword?
Can a class implement two interfaces having default method with same name and signature?