Computer Applications

We can overload methods with differences only in their return type. (True/False)

User Defined Methods

2 Likes

Answer

False

Reason — We can't overload methods with differences only in their return type. The methods must have distinct signatures as well.

Answered By

1 Like


Related Questions