What is Polymorphism?

Polymorphism is the capacity of an object interpretation of many structures. The most widely recognized utilization of polymorphism in OOP happens when a parent class reference is utilized to indicate child class object.


Polymorphism in Java is an idea by which we can play out a solitary activity by various ways.
There are two sorts of polymorphism in Java as follows.


  1.  Compile time polymorphism
  2.  Runtime polymorphism 

By using two strategies we can perform polymorphism in Java there are over-loading and over-riding. On the off chance that you over-burden static technique in Java, it is the case of compile time polymorphism. 

No comments:

Post a Comment

What is Normalization?

Database normalization is a data design and organization process applied to data structures based on rules that help building relational dat...