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 / arvind wagh

Overriding means same name methods in different classes

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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference in between java class and bean?

1092


What are the access modifiers in java?

1038


Which is bigger float or double?

975


Can a class be defined inside an interface?

1033


What are features of java?

1024


What is a classloader in java?

1023


How to restrict a member of a class from inheriting by its sub classes?

1352


What is the advantage of OOP in java?

1149


Why runnable interface is used in java?

1136


What is the purpose of static methods and variables?

1044


What is the synchronized method modifier?

1204


Can an interface implement another interface?

1036


Is a char always 1 byte?

992


What are static blocks and static initalizers in java ?

1080


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

989