HOW’S METHOD OVERRIDING DIFFERENT FROM OVERLOADING?

Pooja Malohtra

Total Post:34

Points:170
Posted by  Pooja Malohtra
OOPS 
 2128  View(s)
Ratings:
Rate this:
  1. Pooja Malohtra

    Post:34

    Points:170
    How’s method overriding different from overloading?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!