Answer Posted / reza
Yes, class is an object but an object is not a class.
We can compare class with a factory and object with product.
A factory can be a product of another factory; but a
product can not be a factory.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What interface must an object implement before it can be written to a stream as an object?
Why use oops?
What is abstract method?
How many methods are there in the externalizable interface?
Do we require parameter for constructors?
How to define an abstract class?
Explain about a class in oop?
How do you prevent a class from being inherited by another class?
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
what is full form OOP?
What are extrinsic and intrinsic connections in object-oriented programming?
What are the Differentiate between abstraction and encapsulation.
What are base class, sub class and super class?
Can we reduce the visibility of the inherited or overridden method ?
What is composition? Explain the purpose of composition.