You are here:

C++/What is method Overriding in OOPs

Advertisement


Question
sir,
I am kedar desai i am studying in S.Y.IT i had a Q. that I am confused about overriding can you tell me what is the overriding?

Answer
hi Kedar

Suppose you have three functions in ur base class (B) called
fun1();
fun2(); and
fun3();

you derive a class called (D) form this base class (B)
now D has got all the functions of B
now if u redefine the function fun3() again in the derived class its called over riding.

In case of any doubts please feel free to get back to me.

regards
Joydeep Bhattacharya
http://www.scodz.com

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Joydeep Bhattacharya

Expertise

TSR, Socket and Very Complex Mathematical Problem

Experience

Worked on many OOP projects with design patterns

Organizations
http://www.scodz.com

Publications
http://www.scodz.com

Education/Credentials
Master of Computer Applications

Awards and Honors
Being a proud owner of a website of programming called http://www.scodz.com

Past/Present Clients
http://www.funforu.com http://www.dhoondho.com http://analysingc.50webs.com

©2016 About.com. All rights reserved.