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 happens if an exception is throws from an object's destructor?

988


Can a static block throw exception?

1048


Can you make a constructor final in Java?

1064


What are the differences between checked exception and unchecked exception?

925


What is difference between call by value and call by reference?

934


What about member inner classes?

1041


Can a class have more than one object?

938


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

993


What is difference between Heap and Stack Memory?

982


Can we override constructors?

942


Tell me how many ways are there to initialise an integer with a constant.

1060


Explain thread in java?

1097


Which of the classes will have more memory allocated?

915


You're given a Boolean 2D matrix, can you find the number of islands?

1049


What are actual parameters?

970