HOW’S METHOD OVERRIDING DIFFERENT FROM OVERLOADING?

Pooja Malohtra

Total Post:36

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

    Post:36

    Points:180
    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!