ANSWER: Compiler uses method signature to determine which method to invoke. They may have different functionality
To invoke the overloaded methods the compiler compares the method signature in the method invocation against the method signature in the class. Overloaded methods are widely used in the fundamental pre-written class libraries in java. Java class can have several methods with same name but different arguments so that the signature is different.