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

When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1243


Explain the difference between an object-oriented programming language and object-based programming language?

991


What are the methods of object class ?

1064


How does hashset works in java?

1098


How many ways can we create the string object?

1022


What are the 3 types of loops in java?

1088


Explain scope or life time of local variables in java?

1030


Why is boolean important?

1072


Which data type is a class in java?

1010


How concurrent hashmap works?

1188


What is the difference between int and integer in java?

1036


If a method is declared as protected, where may the method be accessed?

1017


Why arraylist is not synchronized in java example?

1075


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

1017


Can an interface extend another interface?

1063