What is the difference between overriding and overloading?

Om ji mishra

Total Post:17

Points:119

Posted by  Om ji mishra
C#
 756  View(s)
Ratings:
Rate this:

What is the difference between overriding and overloading? 

  1. Re: What is the difference between overriding and overloading?

    Overloading Overriding?
    The method name will be same and  parameter will be a difference The method name will be same and parameter will be a difference
    We can be overloading the methods in the same class We can be overloading the methods in the  different class

     overloading is a compile-time concept

    Overriding is a run-time concept
    Polymorphism will  be applied to overloading at compile-time Polymorphism applied to overriding at run-time

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.