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 overridding

Answer Posted / $rav$...

OVERLOADING:-Principle of overloading is achieved through
polymorphism .we can have any number of methods with the
same name but the difference in the signature(:parameters ).
OVERRIDING:-Principle of overriding is achieved through
inheritance.we can have any number of methods with same
name,parameters and signature but the rewriting of the code
of the super class method in the subclass is done and we
give the new functionality to that method of keeping its
signature as the same.
dynamic binding prevails in overriding.inheritance is
compulsory.
static binding prevails in overloading.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program for insertion ,deletion,sorting in double link list

2680


What are oops methods?

1000


What is polymorphism explain?

1247


what is graphics

2446


write string class as your own class in java without using any built-in function

2488


Are polymorphisms mutations?

1155


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1626


What is interface in oop?

1117


What is overriding in oop?

1036


write a program to find 2^n+1 ?

2061


what is the drawback of classical methods in oops?

3377


why reinterpret cast is considered dangerous?

2387


hi all..i want to know oops concepts clearly can any1 explain??

2122


What is use of overloading?

1134


How can you overcome the diamond problem in inheritance?

1176