can method overloading based return types 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