Is class an Object? Is object a class?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
class itself is a specification not an object. Object is a
instance of class.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mahendran a
Everything is an object. So class, metaclass and everything
are objects.
And Object is not a class. But all the objects can be
classified with a class named as Object for the behavior of
being Object.
| Is This Answer Correct ? | 1 Yes | 5 No |
How can we restrict inheritance for a class so that no class can be inherited from it?
What do you mean by operator overloading?
Does java support multiple inheritance? if not, what is the solution?
Explain about instance in object oriented programming?
Give any criteria when you use an abstract class and an interface?
0 Answers Sans Pareil IT Services,
What is Abstract method and how different from Virtual Method?
What is an abstract property. Give an example?
Do structs support inheritance?
What is ‘this’ pointer?
What if we make the method as abstract in another interface?
What is the difference between aggregation and composition?
What interface must an object implement before it can be written to a stream as an object?