No products in the cart.

What is the difference between function …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

What is the difference between function overloading and function overridding ?
  • 1 answers

Sia ? 2 years, 9 months ago

1.Function Overloading is when multiple function with same name exist in a class. Function Overriding is when function have same prototype in base class as well as derived class.

2.Function Overloading can occur without inheritance. Function Overriding occurs when one class is inherited from another class.

3.Overloaded functions must differ in either number of parameters or type of parameters should be different. In Overridden function parameters must be same.

http://mycbseguide.com/examin8/

Related Questions

Whate is global scope
  • 1 answers
What is the function of def()?
  • 1 answers
Import math ceil
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App