Is class an Object? Is object a class?

Answer Posted / anirban

Class is an object.
But an object is not a class.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between abstraction and implementation hiding ?

587


What are abstract methods?

595


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

567


What are abstract functions? Why are they used?

566


What is meant by “abstract interface”?

613






Differentiate between an abstract class and an interface?

563


Define a good interface?

553


If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

525


Why we use oops concepts? What is its advantage?

570


What is a ternary operator?

562


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

581


What is the difference between class inheritance and interface inheritance?

589


What are the methods required to create changes in subclasses?

558


What is the difference between a virtual method and an abstract method?

538


Can an interface contain fields?

583