Is class an Object? Is object a class?

Answer Posted / subrata

Going by the definition ("object is an instance of a class") - it is clear that object IS A class type (take off "an instance of"). However, the other way round is against the correctness of definition.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of inheritance?

523


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

581


What is an interface?

598


Explain what is meant by polymorphism?

577


What are different types of arguments?

639






Does a class inherit the constructor of its super class?

520


What are inner classes and what is the practical implementation of inner classes?

479


What is data encapsulation and what is its significance?

512


Can constructors be parameterized?

564


Explain about overriding polymorphism?

588


Explain about abstraction?

679


Can we use static method definitions in interfaces?

558


Classes and structs support inheritance. Is this statement true or false?

574


What is the function of pure virtual functions?

524


What are the features of encapsulation ?

563