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.
The method will be successfully overloaded.
Compilation error.