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

Overloading class has different returntype.
overloading comes with in class but overriding comes in two
classes.
Overloading is resolved at compiletime
Overriding is resolved at runtime.

Is This Answer Correct ?    39 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 0 true or false in java?

996


What is t in generics in java?

1082


How can you make a class serializable in java?

1003


Does constructor return any value?

1034


What is method reference?

995


What is a java developer salary?

992


What is the integer of 16?

982


What is the difference between double and float variables in java?

1166


What is difference between classpath and path variables in java?

1207


How do you define a set in java?

1032


What is the use of jtable?

1131


What is the final blank variable?

1146


Can static method access instance variables ?

1147


What is struts in java?

1051


How can an object be unreferenced?

1032