types of polymorphism in java
Answers
Answered by
0
Answer:
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.
Explanation:
please like and follow and mark as brainlist
Similar questions