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...

function of extends and implements keywords?

Answer Posted / jitender arora

Extending means adding new method definitions. Implementing
means satisfying the existing interface contract by writing
the proscribed method bodies.

When you derive a class from a base class we say the
derived subclass extends the base class. An interface can
also extend another interface. In contrast, when a class
provides the methods (possibly abstract) necessary to
conform to some interface we say that class implements the
interface. Extending a class is closely related to
implementing an interface. A new class can extend at most
one superclass, but it may implement several interfaces.
In interface may extend several other interfaces (though a
class implements an interface). You sometimes do this to
give you a short same to stand for the requirement
implementing half a dozen related interfaces.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ioc concept?

1146


What are the different approaches to represent an inheritance hierarchy?

1073


What is ioc concept & explain it?

1085


Why a client should be multithreading? Explain.

1088


How can I scroll through list of pages like the search results in google?

969


What is the purpose of the finally clause of a try-catch-finally statement?

1036


What are the types of scaling?

1090


What is the purpose of the notifyall() method?

1043


Why a component architecture for the java platform?

1217


What is the difference between the session.update() method and the session.lock() method?

1012


What is difference between object state and behavior?

1101


What is mdb and what is the special feature of that?

1057


Why are some of the class and element names counter-intuitive?

1148


Explain RMI Architecture?

1096


How database connectivity in XML is achieved?

2242