
throws SAXException;
public abstract void processingInstruction (String target,
String data)
throws SAXException;
}
2. A class can implement more than one interface, which is how multiple
inheritance is supported in Java. In the following example,
SAXServlet
inherits from HttpServlet and implements two interfaces:
DocumentHandler and EntityResolver.
public class SAXServlet
extends HttpServlet
implements DocumentHandler, EntityResolver
{
// ...
}
Understanding the Classpath
One of the most confusing aspects of Java is probably the classpath. Most of
the problems when running Java applications are related to the classpath.
The JVM loads Java classes as needed. ...