Answer Posted / subrata
Going by the definition ("object is an instance of a class") - it is clear that object IS A class type (take off "an instance of"). However, the other way round is against the correctness of definition.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the Differentiate between abstraction and encapsulation.
Explain about polymorphism?
Describe inheritance and non-inheritance of a derived class?
What is the benefit of using inheritance?
Why are outlet connections required in object-oriented programming?
Can we override static methods? Why?
What is the use if instanceof keyword? And how do refer to a current instance of object?
What are the different types of inheritance?
Define Destructor?
State about java and its relation to object oriented programming?
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?
What are the problems faced by the developer using object oriented programming language?
Name the different creational patterns in object oriented design?
Explain about overriding polymorphism?
What is composition? Explain the purpose of composition.