Technical Discussion :: C++
Home > Freshers > Technical Interview Questions > C++
85. What is polymorphism? Explain with an example?
Answer:
Single entity showing multiple behaviours.
Example: Mobile can be used to take photos , internet usage,text documents creation etc.,
Two types of polymorphism 1.static polymorphism ( method over riding)
2. Dynamic polymorphism ( method over loading)
Asked In :: TCS iGate Accenture Sapient Paytm
Single entity showing multiple behaviours.
Example: Mobile can be used to take photos , internet usage,text documents creation etc.,
Two types of polymorphism 1.static polymorphism ( method over riding)
2. Dynamic polymorphism ( method over loading)
Example: Mobile can be used to take photos , internet usage,text documents creation etc.,
Two types of polymorphism 1.static polymorphism ( method over riding)
2. Dynamic polymorphism ( method over loading)