DEVFYI - Developer Resource - FYI

What restrictions are placed on method overloading?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

295. What restrictions are placed on method overloading?

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

(Continued on next question...)

Other Interview Questions