Polymorphism
Polymorphism is a capability of an action or methods to do different things based on the object that it is action upon. In other words, It allows us to define one interface and have multiple implementation. The method overriding is an example of run-time polymorphism
Polymorphism is a capability of an action or methods to do different things based on the object that it is action upon. In other words, It allows us to define one interface and have multiple implementation. The method overriding is an example of run-time polymorphism
No comments:
Post a Comment