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

Explain method overloading and overriding?

Answer Posted / aburar yaseen

overloading:previous answers are correct.
overriding: overriding is possible only in inheritance.
we will have more than one methods in the same name with
same no. of arguments with same type in different classes.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array and arraylist in java?

1169


What are some alternatives to inheritance?

1167


Why declare Main() inside the class in java ?

1118


How many bytes is a char in java?

1059


What do you mean by ordered and sorted in collections in java?

1043


What is the difference between a factory and abstract factory pattern?

1197


What is string intern in java?

1089


What is the inheritance?

1024


Explain the difference between collection api and stream api in java8?

1022


Can we write method inside a method in java?

1046


Can you make a constructor final in Java?

1196


Why put method is used?

1054


What data structures are used to perform recursion?

1103


I want to store more than 10 objects in a remote server? Which methodology will follow?

3270


Why is the main method static?

1216