Which of the following is false about overloading methods in Java?

1
methods always have same name
2
methods may have different return type
3
difference in number of parameters or type of parameter
4
number of statements in a method should be different

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation