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 is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U!

Answer Posted / sadikhasan palsaniya

we can change default behavior of super class method by
overriding that method into the subclass.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why Java doesn’t support multiple inheritance?

1041


Why does java have two ways to create child threads?

953


Are arrays classes in java?

1036


Is java hashset ordered?

1112


What are heap memory and stack memory and what are memory tables.

989


Why should I use abstract class?

1105


Explain the overview of UDP messaging.

1129


Is a boolean variable?

1006


when you will synchronize a piece of your code? : Java thread

1025


What is a double vs float?

1016


Why arraylist is used in java?

1070


How is hashset defined in java?

1039


What are the different ways to handle exceptions?

999


Is math class static in java?

1121


What are the different types of sorting in java?

980