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

different between overloading and overriding

Answer Posted / rekha

Overriding - same method names with same arguments and same
return types associated in a class and its subclass.

Overloading - same method name with different arguments, may
or may not be same return type written in the same class itself.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the difference between a string and an array?

1221


What is modeling?

1093


What should malloc(0) do?

1180


How can I open files mentioned on the command line, and parse option flags?

1104


Is calloc better than malloc?

1071


What is the difference between %d and %i?

1144


Why is c used in embedded systems?

1172


What is 'bus error'?

1206


What is difference between %d and %i in c?

1301


What is meant by keywords in c?

1112


What is the use of static variable in c?

1139


Explain what’s a signal? Explain what do I use signals for?

1246


Why c is called free form language?

1072


What is string constants?

1199


What are actual arguments?

1153