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 / arthi

overloading means same method name but different parameters
are passed but overriding means same method name with same
parameters passed in different classes.

Is This Answer Correct ?    40 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between yielding and sleeping? : Java thread

905


What about abstract classes in java?

1013


Why does java does not support multiple inheritance? Explain

922


Is array an object in java?

902


What are the methods available in a class?

1010


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1942


How will you print number in reverse (descending) order in BST.

942


What is better- service oriented or batch oriented solutions?

2144


Explain the difference between serializable and externalizable in java?

977


What is a method header?

968


Explain jvm, jre, and jdk?

953


What is the difference between the prefix and postfix forms of the ++ operator?

963


What is indexof?

913


Who is the owner of java?

950


What is a void in java?

1063