What will happen when two methods have the same name, same parameters, and different return types?
The return type is ignored in method overloading.
Runtime error.
Compilation error.
The method will be successfully overloaded.