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...


Diffrernce Between Overloading and Overriding?

Answers were Sorted based on User's Feedback



Diffrernce Between Overloading and Overriding?..

Answer / anupam mittal

In overloading all the function have same name but
different in no. of argument, type of argument and oreder
of argurmnt while in case of overriding both function are
defined in differenet class when a function inherit from
parent class and there is a function with same prototype in
child class then child class function override the parent
class funciton.

Is This Answer Correct ?    11 Yes 2 No

Diffrernce Between Overloading and Overriding?..

Answer / sourisengupta

OverLoading :- Method Name remains the same with different
signatures.
For ex:- Take a method name vehicle.
if u are passing two parameters to it , it will generate
informations for 2 wheelers .
if u are passing four parameters to it, it will generate
informations for 4 wheelers.

shortly we can tell same with different characteristics.

Overriding : - Method name and signatures must be same.
In overriding user can change the behaviour of the method
for the derived class.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More STL Interview Questions

what is an algorithm in terms of STL?

1 Answers   Lucent, Wipro,


what is c++

2 Answers  


how to get the sum of two integers?

2 Answers  


5. Write c++ function that would intake a string and return the number of occurrences of a given character in that sring Ex:- if the word is “Colombo” and count the occurrences of the letter “o” the function would return 3

1 Answers  


Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list

21 Answers   ABC, Sun Microsystems,


What are the components of stl?

0 Answers  


write a c++ to define a class box with length,breadth and height as data member and input value(),printvalue() and volume() as member functions.

3 Answers  


What are the symptoms of stl?

0 Answers  


what is strcture i++ i ++i answer to this i=5 what is the out put

6 Answers  


Waht is inheritance

6 Answers  


what are you now programming Languages C+

1 Answers   HCL,


What do stl stand for?

0 Answers  


Categories