override method with same parameter but different return type code example
Example: Return type of overloaded method should be same or not?
return type can be same or different in method overloading
return type can be same or different in method overloading