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

Array base access faster or pointer base access is faster?

2358


Who made c++?

1133


Differentiate between an external iterator and an internal iterator?

1047


Incase of a function declaration, what is extern means?

1025


What is a multimap c++?

1278


Is c++ low level?

1073


What are references in c++?

1191


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

1101


How are the features of c++ different from c?

1165


What are move semantics?

1227


What is the difference between an external iterator and an internal iterator?

1142


When should overload new operator on a global basis or a class basis?

1133


What are the important differences between c++ and java?

1199


Why do we learn c++?

1028


What is setfill c++?

1200