what is method overloading and overriding? Difference? Give examples.
Sigiloso
Overloading : Use of same name for two or more methods ....but arguments or the return type are different for each of them. Overriding : Redefining method in the child class ...with same arguments and same return type. For example: int function(){}; and int function(String k){} is overloading.