Computer Applications

Two methods cannot have the same name in Java. (True/False)

User Defined Methods

2 Likes

Answer

False

Reason — Two or more methods can have the same name in Java if the functions are overloaded. For function overloading, many function definitions can have the same name but they must have different signatures.

Answered By

1 Like


Related Questions