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?

Answers were Sorted based on User's Feedback



function of extends and implements keywords? ..

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

function of extends and implements keywords? ..

Answer / mayur kumar

extends is used to inherite a class and implement is used
to inherit an interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What method MUST be implemented by all threads?

1 Answers  


diff mvc1 and mvc2 wahts is mean by servlet chaining?

3 Answers   SolutionNET,


what are memory considerations of jsp compares to other web components?

0 Answers   TCS,


What is the immediate superclass of the applet class?

0 Answers  


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

0 Answers  


What is Stream Tokenizer?

0 Answers   TCS,


Define the remote interface?

1 Answers  


Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

4 Answers   HeadStrong,


Where can I find seam examples and documentation?

0 Answers  


Explain the purposes of methods wait(), notify(), notifyAll ()?

2 Answers  


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,


Categories