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

What is a ternary operator?

711


Explain colloboration

696


What are the basic concepts of oop?

726


Can you create an instance for an abstract class?

702


What is data abstraction? what are the three levels of data abstraction with Example?

744


Which oops concept is used as reuse mechanism?

3225


Give any criteria when you use an abstract class and an interface?

713


What is the @functionalinterface annotation?

687


Explain about a class in oop?

735


Can you explain primordial class loader?

657


Can we access interface static method using interface references?

737


Write a note about inheritance?

680


Does java support multiple inheritance? if not, what is the solution?

705


Explain about instance in object oriented programming?

747


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

694