Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following is a valid example of method overloading in Java?
void sum(int a, int b) { }
None of the above
void sum(int x, double y) { }
int sum(int a, int b) { }
double sum(int x, int y) { }
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!