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 Overriding and how can it be used?

Answer Posted / pranab dutta

If a class defines a method using the same name, return
type, and arguments in its super class, then it is called
Overriding. Methods are overridden to make them more
public. The method in the class overrides the method in the
super class.
When the method is invoked for an object of the class, it
is the new definition of the method that is called, and not
the method definition from super class.

Is This Answer Correct ?    46 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is operator overloading. Is it is supported in java?

944


What is fundamental datatype?

938


Will minecraft java be discontinued?

1113


Name few java 8 annotations ?

967


How do you clear a method in java?

953


What is an example of a constant variable?

1005


What is consumer in java?

918


How many bytes are there?

946


Differentiate between vector and array list.

993


What is application tier?

1040


Explain the Propertie sof class?

991


What is the epoch date?

947


What is string pool?

1024


How do you replace a string in java?

959


Why does my function print none?

890