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

overloading is the process of defining the same function
with different parameters.which can be defined within class.
overriding is the process of defining the function name in
the more than one classes.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void data type?

991


Is math an abstract class in java?

1008


Why do we need wrapper classes?

1068


What is keyword and identifier?

1133


Why is multiple inheritance not supported in java?

1031


What is java string pool?

1003


State the difference between creating string as new () and literal.

1118


Which category the java thread do fall in?

999


What classes of exceptions may be thrown by a throw statement?

966


What is maximum size of arraylist in java?

1031


What is the r character?

1020


How is treeset implemented in java?

1027


Is java map thread safe?

961


What is a constructor overloading in java?

1039


What are the advantages of encapsulation in java?

1012