Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Overloading and Overriding?

Answer Posted / kunal

Overloading - Two or more functions having same name but
different siganture(i.e arguements or return types) for eg.
we have a function named as area then
area();,float area();,area(float a,float b);,float area
(float a,float b);

Overriding - When a function of base class is re-defined in
the derived class.for eg.
base class
{
area(float a,float b);
}
derive class
{
float area();
}

Is This Answer Correct ?    42 Yes 109 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a type-specific template friend class and a general template friend class?

986


What is a binary file? List the merits and demerits of the binary file usagein C++.

1308


What is static class data?

1065


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6413


If I is an integer variable, which is faster ++i or i++?

1071


What is a loop? What are different types of loops in c++?

1134


Why was c++ made?

1109


What information can an exception contain?

1145


How does class accomplish data hiding in c++?

1184


Can member data be public?

1037


Is it possible to write a c++ template to check for a function's existence?

1032


What is c++ manipulator?

989


What is the basic difference between C and C++?

1182


Explain the difference between abstract class and interface in c++?

989


Difference between inline functions and macros?

1051