Difference between Overloading and Overriding?

Answer Posted / kailash joshi

overloading : class a { volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"different signatures"

overriding : class a { public volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"same signatures";

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what are static member functions?

612


Can create new c++ operators?

568


what Is DCS ? what i will get benefit when i did?

1831


What is a virtual destructor? Explain the use of it?

545


What is function prototyping? What are its advantages?

589






What flag means?

523


What c++ is used for?

579


What is auto used for in c++?

565


Which ide is best for c++?

540


What does asterisk mean in c++?

582


What is virtual base class?

567


Is java a c++?

559


What is c++ w3school?

628


What is the full form of dos?

566


Who invented turbo c++?

605