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

To define method in subclass having same method name as
method in superclass having same return type,same
parameters,then method in subclass should be override
method in superclass.

used in code repalcement.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is the main method declared static?

1181


What is native method in java?

1122


How do you implement tree mirroring in java?

1120


How we can skip finally block of exception even if some exception occurs in the exception block in java?

1001


What is a package in java? List down various advantages of packages.

1345


What is the difference between yielding and sleeping?

1180


How do you remove duplicates in java?

1073


How do singleton patterns work?

1021


What is the common usage of serialization?

1221


Can we print null in java?

1103


What is ‘is-a ‘ relationship in java?

1114


What is difference between public static and void?

1075


Can list be final in java?

988


What is the history of java?

1049


How can we find the sum of two linked lists using stack in java?

1248