polymophism ...good example is when dog smells a cat it will barkand run after it but when it smells food it it will salivate and run to its bowl.ie .sence of smell is at work in both situations but action depends upon what it smells.
real life exam : polymorphisam.it is phenominal used for one interface multiple function. girl like a friend,girlfiriend,daughter inhertance.it is a property in which derived class inherits feauters of base class.like father and son encapsulation.encapsule only relevent information.line vaccum cleaner
polymorphism: poly=many morphism=forms i.e one interface having many methods. human being encapsulation: hiding the information of essential detalis. inheritance: the process of deriving one class from parent class.
Polymorphism means ability to take more than one form thats an operation can exhibit different behavior at different instance depend upon the data passed in the operation the real life example A software engineer can perform different task at different instance of time depending on the task assign to him he can done coding , testing , analysis and designing depending on the task assign and the requirement