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

How do you compare two strings lexicographically?

894


What is hash table in java?

953


What is meant by anonymous class?

981


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

978


How do you clear a list in java?

1058


What does i ++ mean in Java?

899


Under what conditions is an object’s finalize() method invoked by the garbage collector?

990


What flag up means?

994


Can we create an object of static class in java?

978


What is generic class?

1050


Do we need to manually write Copy Constructor?

986


Tell us something about set interface.

962


When does a class need a virtual destructor?

957


Is sizeof a preprocessor?

951


What are the elements of java?

975