Leave a Reply 4

Your email address will not be published. Required fields are marked *


mrZ

mrZ

B

Fredy Benavides

Fredy Benavides

Wrong, the anser is A. compilation fails because methods must change type o number of arguments to be overloaded.

Ryan

Ryan

Fredy is correct.
A

imyrta

imyrta

Answer: A

Explanation:
It will fail because java dose not support overloading the same method with different return type.