Computer Science, asked by meenaharshi1972, 4 months ago

Search and explain how we can achieve Polymorphism in a java program? ​

Answers

Answered by legend8718
0

Answer:

So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding. If you overload a static method in Java, it is the example of compile time polymorphism.

Answered by ayushbhatia200600
0

So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding. If you overload a static method in Java, it is the example of compile time polymorphism.

Similar questions