HOW IS METHOD OVERRIDING DIFFERENT FROM METHOD OVERLOADING?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
C# 
C#
 970  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    How is method overriding different from method overloading?

    Overriding involves the creation of two or more methods with the same name and same signature in different classes (one of them should be parent class and other should be child).

    Overloading is a concept of using a method at different places with same name and different signatures within the same class.

Answer

NEWSLETTER

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