What do mean by polymorphism, inheritance, encapsulation?

Polymorhism: is a feature of OOPl that at run time depending upon the type of object the appropriate method is called.Inheritance: is a feature of OOPL that represents the "is a" relationship between different objects(classes). Say in real life a manager is a employee. So in OOPL manger class is inherited from the employee class. Encapsulation: is a feature of OOPL that is used to hide the information.

Showing Answers 1 - 1 of 1 Answers

subash

  • Aug 6th, 2011
 

polymorphism: it is used to derive the class one in many form
inheritance: deriving the neq class from the existing class
encapsulation: hiding the information

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions