Difference between Function Overriding and Function Overloading in C++ -46

39
2



Function Overriding vs Function Overloading
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.

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

Mail:Aniproguy@gmail.com
Music:Ukulele by BENSOUND
Creative Commons — Attribution 3.0 Unported— CC BY 3.0

Music provided by Audio Library

————————————————————————————————
Suggested Videos
Inline Function :-
STATIC FUNCTIONS IN C++ :-
CONSTRUCTOR IN C++:-
STATIC VARIABLE OR STATIC DATA MEMBER IN C++ :-
Constructor Overloading in C++- 32 :-
FRIEND FUNCTION IN C++(THE CONCEPT):-
FRIEND FUNCTION VS REGULAR FUNCTION:-
FRIEND FUNCTION IN MULTIPLE CLASSES:-
INHERITANCE IN C++(THE CONCEPT):-
SINGLE INHERITANCE IN C++:-
ACCESS SPECIFIER IN C++:-
MULTILEVEL INHERITANCE:-
MULTIPLE INHERITANCE:-
HIERARCHICHAL INHERITANCE:-
HYBRID INHERITANCE:-

Nguồn: https://chototdayroi.com

Xem thêm bài viết khác: https://chototdayroi.com/cong-nghe/

39 COMMENTS

  1. raat ka 2 baj ka 30 min o gay han morning 9am mara paper air mara sara concept ap ki video sa sirf 20min ma clear o gay thanks a lot great job sir
    i will request to viewer that kindly subs the channel and share the sir hardworking video once again thank u sir

  2. you just changed the names of methods so the first program should be overriding while the second one should be overloading.

  3. Your videos focuses on core concepts which makes the whole teaching process very interesting and easy. Thanks for this and I really appreciate this unique idea of teaching.

  4. BTW your videos are great! Just a little notice on 4:58 you mention "overriding" instead "Overloading" …. forgive me if i'm wrong. it would be great if you can edit, so that new students won't get confused. Thank you.

  5. Thanks for video…very helpful
    suggestion – at frame 5:00 "Function Overloading " should be their instead of "Function Over Riding"

  6. I guess the second example was of function overloading by passing arguments as int and double int and not function overriding. You displayed wrong in video.
    I appreciate your efforts. Nicely you've explained. Thank you

  7. Really good video, quick note is you accidentally called overloading overriding around 5 minutes and 4:57 when you went from overriding to overloading examples 🙂 but still great video!

  8. Auditory stimulation has a big role in retention. If you don't talk, your channel may not be successful. You explain it very well through animation, and if you combine it with your voice, then it will be wonderful

  9. Thank you I completely understand now c++ I do not face so much difficulty now thanks for creating this intiative I request you to prepare videos on other softwares also

LEAVE A REPLY

Please enter your comment!
Please enter your name here