What restrictions are placed on method overloading?

What restrictions are placed on method overloading?

Morlisa
Views: 1209 | Community Opinion: 2

Tags..  Java Interview  Core Java  Java Methods

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Chorsia Said..

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




asim Said..

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

but in same class it will give error






What do you think? Add your opinion/answer
*Name
*your opinion/answer: