implement : Java Glossary
home I words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish 2006-02-23 by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
implement
when a class provides the methods (possibly abstract) necessary to conform to some interface we say that class implements the interface. Implementing an interface is closely related to extending a class. A new class can extend at most one superclass, but it may implement several interfaces.

Extending means adding new method definitions. Implementing means satisfying the existing interface contract by writing the proscribed method bodies. Logically, when you extend an abstract class and fill in the method bodies, that should be called implementing, but in the Java world that is called extending.

When you provide an abstract class to satisfy an interface, logically you have not really implemented anything, but in the Java world, that still counts as implementing.


CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.16] Spread the Net
You are visitor number 36,722.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/implement.html J:\mindprod\jgloss\implement.html