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 |
If a class inherits an interface, what are the 2 options available for that class?
What is Polymorphism, overloading, overriding and virtual?
What are base class, sub class and super class?
What is diamond inheritance problem? How java 8 solves this problem?
What is Abstract method and how different from Virtual Method?
What is a friend function?
What is data abstraction? what are the three levels of data abstraction with Example?
Can a class implement two interfaces having default method with same name and signature?
What is Polymorphism?
7 Answers MindCracker, Protech, TCS,
What does the keyword virtual represented in the method definition?
Define Initialisation Purpose.
Can we override a method by using same method name and arguments but different return types?