|
|
Java interfacesIn Java, an interface is a "blueprint" that defines what is common to some group of classes. Typically:
There are also some more marginal cases that we'll look at later. To illustrate more fully what an interface is, we'll look at an actual example from the JDK: the Appendable interface. Written by Neil Coffey. Copyright © Javamex UK 2008. All rights reserved. |