• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in C Sharp by
Q:
What is the difference between method overloading and method overriding in C#?

1 Answer

0 votes
by

Method parameters must be different in method overloading whereas it must be same in method overriding.

Inheritance is not required in method overloading, it occurs within the same class. But inheritance is required in method overriding.

Related questions

0 votes
asked Oct 12, 2020 in JAVA by Robindeniel
0 votes
asked May 25, 2020 in JAVA by Robindeniel
...