overloading but different return type code example
Example: does overloading method can have different return type
return type can be same or different
in method overloading
but you can't have same parameters
return type can be same or different
in method overloading
but you can't have same parameters