Java View all facts Glossary Help |
syntactic unit > clause |
clause comparison table |
Subject | have example | have syntax | be part of | have purpose | see also | is a subtopic of | indicate |
---|---|---|---|---|---|---|---|
implements clause | public class AnimatedSign extends javax.swing.JApplet | className implements Interface1 (,Interface2, Interface3 ...) | to indicate that a class implements an interface | Interfaces | that a class contains methods for each of the operations specified by the interface | ||
throws clause | // A method definition with a throws | throws exceptionClassName | method definition | to specify the type(s) of exception(s) that might be generated when a method is run | throws statement | Exception Handling |
Next syntactic unit: comment Up: syntactic unit Previous syntactic unit: access unit