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

If a function doesn’t return a value, how do you declare the function?

1062


What does new in c++ do?

1027


Explain function overloading

1021


daily Routine of father

1412


What should main() return in c and c++?

1026


What is the purpose of the "delete" operator?

1066


Can you please explain the difference between using macro and inline functions?

1047


What is the use of bit fields in structure declaration?

987


What is the difference between while and do while loop?

1162


What is the most useful programming language?

1051


What is difference between c++ and c ++ 14?

1058


What is encapsulation in c++ with example?

1006


What is the difference between a template and a macro?

1067


what is scupper?

2396


Which is best c++ or java?

1086