Which of the following is an invalid method overloading?
Answers
Answered by
4
Answer:
Explanation:
If two methods have same name, same parameters and have different return type, then this is not a valid method overloading example. This will throw compilation error.
I hope this helps you
plz mark it as brainliest
Answered by
1
Explanation:
Method overloading is a characteristic wherein a category has a couple of approaches of the identical call and their parameters are special.
Overloading takes place whilst or greater techniques in a single magnificence have the identical approach call however special parameters.
Similar questions