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. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang>

Answer Posted / ganga

using same methodname with different signatures is known as
overloading where as
changing the definition of the parentclass in chidclass is
known as overridding.

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parsing and its types?

1024


Can we override constructor?

968


What is classname class in java?

990


What is byte value?

945


What is a copy constructor in java?

1048


If an application has multiple classes in it, is it okay to have a main method in more than one class?

968


What is the synonym of procedure?

1012


Explain about abstract classes in java?

984


Is ruby built on java?

897


What is private static in java?

996


What is listnode in java?

937


What is the difference between static method and instance method in Java?

1128


Can you sort a list in java?

923


What data structures are used to perform recursion?

990


Explain the difference between abstraction and encapsulation.

922