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...

What are Advatages of Overloading and Overridding.

Answer Posted / pooja srivastava

Overloading means same functions but different arguments..
so with overloading we can take new action with diff
parameters..


Overriding means same methods with same argument and same
prototype...
so with overriding we can create new definatin in subclass
with same method name and prototype..

Is This Answer Correct ?    38 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass arraylist to stored procedure in java?

1173


What is classname class in java?

1069


What are parsers? Dom vs sax parser.

1057


Explain method overloading?

1021


Why are there no global variables in java?

1044


What is the use of using enum to declare a constant?

1029


Differentiate between the constructors and methods in java?

952


Where are global variables stored?

958


Explain serialization and deserialization in java?

1013


What is a vararg?

1038


What is primitive array?

903


What is difference between Heap and Stack Memory?

1054


What is the purpose of using the java bean?

1054


What does @override mean?

1210


What is the list interface?

1082