Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

Polymorphism in OOP'S in JAVA:-

Poly Means MANY and Morphism means Forms.using these features of OOP's We can User Same name method and operators into multiple forms.

Polymorphism Provide Better Reuseility and Flexibility in Program.

Constructor By Default Provide Function Overloading Concept.

Because We Can Create Different Type of Constructor for Different Functionalities

JAVA Not support Operator Overloading Concept because We can not re-define operator definition.


Type of Polymorphism:-

1 Static Polymorphism:-  It will perform the operation at compile time

Function Overloading is the implementation of Static Polymorphism.


2 Dynamic Polymorphism:-  It will perform the operation at runtime using Object.
Function Overriding is the example of Dynamic Polymorphism.



Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post