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