Programming - Inheritance - Discussion

You Are Here :: Home > JAVA > Inheritance - Discussion

 



Q.

What restrictions are placed on method overloading?                         


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

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion