Is class an Object? Is object a class?

Answer Posted / kumar rohit

A class is a generalized template from which object
is created based on its various instances,therefore
we can consider a class as an object while vice-versa
is not possible.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between encapsulation and data hiding ?

515


What are different types of arguments?

639


What are the major differences between late and dynamic binding?

493


Explain the different types of constructors

522


What is the diffrence between an abstract class and interface?

615






Why does java not support multiple inheritance?

529


Why is class hierarchies managed in object-oriented programming?

572


What is multiple inheritance? How java 8 supports multiple inheritance?

604


Explain about realistic modeling?

570


How can we call the base method without creating an instance?

595


Define Initialisation Purpose.

572


What is the difference between multiple and multilevel inheritance?

580


Can you create an instance for an abstract class?

534


Can you define OOP and principles of OOP?

574


Is it possible to create partial structs, interfaces and methods?

536