Polymorphism
Polymorphism is a feature that allows one interface to be used for a general class of actions. The concept of polymorphism is often ex-pressed by the phrase “one interface, multiple methods”. It basi¬cally refers to the ability of giving the same name to methods in different subclasses. The individual methods may implement simi¬lar tasks but can be differentiated by the type of arguments passed to them.
By using polymorphism different methods can be created with the same name but with different parameters.
Dynamic Binding
Dynamic binding means ,when a method is called within a program are associated with the program at runtime rather than at compile time.
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment