1.

How Is Method Overriding Different From Method Overloading?

Answer»

When overriding a method, you CHANGE the behavior of the method for the derived class. OVERLOADING a method simply involves having another method with the same NAME WITHIN the class.

When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.



Discussion

No Comment Found