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

How do you traverse a btree in backward in-order?

987


What is a syntax in c++?

1121


Explain what data encapsulation is in c++?

1047


How can I learn c++ easily?

1023


What do you mean by delegate? Can a user retain delegates?

889


what is C++ objects?

1159


How does the copy constructor differ from the assignment operator (=)?

1098


Describe protected access specifiers?

1162


What is the difference between the functions rand(), random(), srand() and randomize()?

1219


What does extern mean in a function declaration in c++?

1162


What is a constant reference?

1029


What are the various operations performed on stack?

1045


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

970


Differentiate between structure and class in c++.

1033


Explain the differences between private, public and protected and give examples.

969