Explain about polymorphism?
Answer / Chandra Prakash
Polymorphism is a feature in OOP that enables objects to take multiple forms, allowing one interface to represent a general class while the specific implementation varies between subclasses. Polymorphism enhances code reusability and flexibility by providing a uniform interface for handling different types of objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you prevent a class from being inherited by another class?
Explian following terms: Constraint Rules, Design by contract.
Why do we separate interface from implementation?
What is the use of destructive method?
Name some languages which have object oriented language and characteristics?
What is the best tool for modeling and ORM framework
Which oops concept is used as reuse mechanism?
What is the difference between aggregation and composition?
What's the order of call of constructors in inheritiance?
What do you mean by "explicitly implemeting an interface". Give an example?
What is abstract method?
Is it possible to override private virtual methods?