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 / esha prasad

Over loading is polymorphism implementation in same class,
where two or more methods can share same name differing in
parameters passed.
Overriding is polymorphism implementation in different
classes having parent child relationship and the
funtionality in parent class is over shadowed by the
funtionality in subclass.

Is This Answer Correct ?    72 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are 3 boolean operators?

999


What is subsequence of a string?

1091


What is the use of isempty in java?

1017


What is static in java?

1091


What is sleep method?

1146


Can a top level class be private or protected?

1051


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1208


How we can declare a static variable?

1104


What does indexof return in java?

981


What is the difference between static and non-static variables in java programming?

974


Can we sort arraylist in java?

983


What is a java list?

1100


Explain about doubly linked list

1025


What are the differences between throw and throws?

1071


What is the purpose of the runtime class in java programming?

1054