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 / shoaib

1. Overloading doesn't block inheritence from the
superclass where as Overriding blocks inheritance.

2. Overloading -> If two functions having same name and return type, but with different type and/or number of arguments. Overriding -> When a function of base class is re-defined in the derived class

3. Overloading is compile time binding, where as overriding is dynamic binding

4. In overloading function name are same but signatures
parameters are different .while in overriding function name are as well as argument are same in drive class as in super class.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does code-bloating occur in c++?

1239


Which field is used in c++?

1151


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2408


Explain the purpose of the keyword volatile.

1240


Are vectors passed by reference c++?

1051


Define whitespace in C++.

1270


What is the full form of dos?

1243


Define basic type of variable used for a different condition in C++?

1193


What is a container class? What are the types of container classes in c++?

1362


Write about the retrieval of n number of objects during the process of delete[]p?

1061


Is java easier than c++?

1075


Which compiler does turbo c++ use?

1134


What is difference between array and vector in c++?

1074


What is the difference between C and CPP?

1212


What is the arrow operator in c++?

1069