Chapter 21. Glossary
- abstract
The
abstractkeyword is used to declare abstract methods and classes. An abstract method has no implementation defined; it is declared with arguments and a return type as usual, but the body enclosed in curly braces is replaced with a semicolon. The implementation of an abstract method is provided by a subclass of the class in which it is defined. If an abstract method appears in a class, the class is also abstract.- API (Application Programming Interface)
An API consists of the functions and variables programmers use in their applications. The Java API consists of all
publicandprotectedmethods of allpublicclasses in thejava.applet,java.awt,java.awt.image,java.awt.peer,java.io,java.lang,java.net, andjava.utilpackages.- applet
An embedded Java application that runs in the context of an applet viewer, such as a web browser.
- <APPLET> tag
An HTML tag that specifies an applet run within a web document.
- appletviewer
Sun’s application that implements the additional structure needed to run and display Java applets.
- application
A Java program that runs standalone; i.e., it doesn’t require an applet viewer.
- AWT (Abstract Window Toolkit)
Java’s platform-independent windowing, graphics, and user interface toolkit.
- boolean
A primitive Java data type that contains a truth value. The two possible values of a boolean variable are
trueandfalse.- byte
A primitive Java data type that’s an eight-bit two’s-complement signed number (in all implementations).
- callback ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access