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 the default access modifier in a class?
What are different ways to create string object?
what are the different ways for a method to be overloaded?
Explain about inheritance in oops?
Can an interface implement or extend another interface?
Differences between functional programming and object-oriented programming?
What's the benefit of using inheritance?
What is meant by function overloading and function overriding?
What are the major differences between late and dynamic binding?
Why we use oops concepts? What is its advantage?
Describe the Diamond problem. Where does this problem occur?
what is full form OOP?
Can we override static methods? Why?
Write about abstract base classes?
What are extrinsic and intrinsic connections in object-oriented programming?