What restrictions are placed on method overloading

Two methods may not have the same name and argument list but different return types.

Showing Answers 1 - 1 of 1 Answers

In method overloading
1.methods should have the same name.
2.The methods may or may not have return type and the return type may or may not be the same.
The signature should be different.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions