Computer Science, asked by akshun10, 11 months ago

how polymorphism supported in java

Answers

Answered by adhilmomu7
1

Answer:

Java supports two kinds of polymorphism. You can overload a method with different sets of parameters. This is called static polymorphism because the compiler statically binds the method call to a specific method. Within an inheritance hierarchy, a subclass can override a method of its superclass.

Answered by msrishti0104
2

Answer:

Polymorphism means many forms. Polymorphism is supported in java by method overloading. Java allows us to create many methods of the same name with different parameters.

If this answer is helpful, please mark it as the brainliest:)

Explanation:

Similar questions