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 is difference between static and non-static fields of a class?
What is operator overloading and polymorphism?
What is operator overloading?
What are the main features of oops?
What is @functionalinterface?
What is the benefit of Composition over Inheritance?
What are abstract classes?
What is the difference between an Abstract class and Interface?
What is the super keyword?
What is function override?
explain dynamic binding
What interface must an object implement before it can be written to a stream as an object?
What is sealed modifiers?
Explain what is object oriented programming language?
What is the use of finalize method?