explain how can we achieve polymorphism in java
Answers
Answered by
1
Answer:
Java, static polymorphism is achieved through method overloading. Method overloading means there are several methods present in a class having the same name but different types/order/number of parameters. In the above example, there are four versions of add methods.
Answered by
1
Answer:
In Java, static polymorphism is achieved through method overloading. Method overloading means there are several methods present in a class having the same name but different types/order/number of parameters. In the above example, there are four versions of add methods.
Explanation:
here's your answer
please make me brainliest
Similar questions