Question: overloading and overriding
What is the difference between overloading and overriding?
Overloading: Overloading is nothing but passing the different parameters to the method. Here method name is same but parameters are different.
Overriding: Overriding is nothing but giving the implentation to the method in the derived class.Here method signature is same.