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 / ravi kolate(ty)

overloadind is the method in which have same function name
and return type but it has different number of passing
argument.
float a(float a,int a)
{
float a(float num)
{
//code
}
}
while in overriding method their are same function name
same return type and same parameter passing passing to
parent class to child class.
in java their is tedius problems in method overriding ,to
solve problem java introduce a interface.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain rethrowing exceptions with an example?

1076


What is ios :: in in c++?

1112


Why struct is used in c++?

1172


What is array in c++ example?

1165


What is the difference between public, private, and protected access?

1128


What is constructor in C++?

1143


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1244


What are the operators in c++?

1171


Write a struct time where integer m, h, s are its members?

1017


Write a code/algo to find the frequency of each element in an array?

1164


What are exceptions c++?

1112


Can we use pointers in c++?

1113


What are the 3 levels of programming languages?

1097


What is meant by iomanip in c++?

1290


What is difference between class and function?

1153