Is class an Object? Is object a class?

Answers were Sorted based on User's Feedback



Is class an Object? Is object a class?..

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

Is class an Object? Is object a class?..

Answer / guest

class itself is a specification not an object. Object is a
instance of class.

Is This Answer Correct ?    5 Yes 0 No

Is class an Object? Is object a class?..

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

Post New Answer

More OOAD Interview Questions

Can we reduce the visibility of the inherited or overridden method ?

0 Answers  


Comment: C++ "includes" behavior and java "imports"

1 Answers   Protech,


What is an interface?

0 Answers  


Difference: 'uses', 'extends', 'includes'

7 Answers   Cognizant, Protech, TY, University,


What is static and dynamic Binding?

0 Answers  






What is the difference between an error and an exception?

0 Answers  


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?

0 Answers  


What is the order of call of constructors in inheritiance?

0 Answers  


Can an interface implement or extend another interface?

0 Answers  


What is inheritance in java?

2 Answers  


Where shall I go for Package Diagram?

1 Answers   Protech,


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

0 Answers  


Categories