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 / sajith

If class define method using same name,parameter,return
type,argument in its superclass then it is called overriding.
sub class should be override parentclass

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1000


What is set in java?

1026


What do you mean by object?

952


Why char array is preferred over string for storing password?

1075


How many bits is a double?

974


why an outer class cannot be declared as private?

4282


Is null function in java?

1018


How can we make a class virtual?

1096


What are inbuilt functions in java?

1051


Tell me the latest versions in java related areas?

1076


Why we use methods in java?

975


Can we declare the main method of our class as private?

977


What is contract between hashcode and equal method?

1017


How do you sort a set in java?

893


What are the different data types in java?

983