[Solved] Java Compiler Overloading [closed]


the java compiler uses the message signature (name, accepted parameters and types and to some degrees the return type) not the method name to identify the method, so there is no additional strain to the compiler. If two methods achieve the same result and differ only in the parameters to complete its job, why should one not give the two methods the same name? It makes your code more readable this way.

2

solved Java Compiler Overloading [closed]