Which of the following statements about method overloading in Java is true?单项选择题

A

Overloaded methods can have the same name and parameter types but must have different return types.

B

Overloaded methods must have the same name but different parameter types.

C

Overloaded methods can have different names, return types, and parameter types.

D

Overloaded methods must have the same name, return type, and parameter types.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!