how polymorphism supported in java
Answers
Answered by
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
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
Math,
5 months ago
Chemistry,
5 months ago
Math,
5 months ago
English,
11 months ago
Computer Science,
1 year ago
Environmental Sciences,
1 year ago