Browsing tag: API

High level Abstraction

Polymorphism in Java


“polymorphism” means ‘a state of having many shapes’ or ‘the capacity to take on different forms’.   In Java, Polymorphism is an ability to access objects of related classes through a single, uniform interface. Two types of polymorphism in Java,   Compile time polymorphism (static binding)   Run-time polymorphism (dynamic binding). Method overloading is an example