A |
- Abstraction -
method with no code body. Only intended to be overriden by a sub-class
method. 4:Java:Abstract
Classes
- Access (Visibility) Rules -
- appletviewer - program
provided in the JDK to run applets independently of a browser
|
B |
|
C |
- callbacks - 4:
Interfaces for callbacks - using interfaces instead of function
pointers as in C
- case - see switch statement
- Casts
- A: convert data of one primitive type
into another primitive type.
- B: Convert an object reference to
its class type or super or sub class types, or to one of its
interface types.
-
-
Console - Browsers optionally
provide for a window called the Java Console to show output
and error messages from an applet. Also, it typically displays
the version of the JVM. See Tips:
Ch. 1: Java : Simple Applet
- constants:
- continue statement - 2:More
Basics:Flow Control
|
D
|
- deprecation
- a new version of the Java language may declare that a particular
method in an earlier version has been "deprecated".
This indicates that a new preferred method or class should be
used instead. The javac compiler will flag
such deprecated method invocations. The Java API specifications
will provide details on why the method was deprecated and what
the preferred method is.
- do/while statements - 2:More
Basics:Loops - for, while and do/while statements
|
E |
|
F |
|
G |
|
H
|
|
I
|
|
|
- javac - the Sun java
compiler that takes Java source code as input and produces bytecode
output
- JVM - see Virtual
Machine (VM)
|
K
|
|
L
|
|
M
|
|
N
|
|
|
- Object
- base class for all Java classes
- Operators - carry out basic Java operations
|
P
|
- Polymorphism - a sub-class object can
be referenced as a type of its super-class. However, when the
super-class reference is used to invoke an overriden method, the
sub-class's method will execute, not that of the super-class.
- Primitive Data Types - simple data types
with no class structure.
|
Q
|
|
R
|
|
S |
- Scanner - J2SE5.0
class that allows for formatted input.
- Static Imports - 5:
Java: Static Import - declare package name for static fields
and methods. Useful for constants.
- StrictMath -
2: Tech : Math Class - the StrictMath class was added in version
1.3 to provide exactly the same results from the math functions
regardless of platform.
- switch statement - 2:More
Basics:Flow Control
|
T |
|
U |
|
V |
- varargs - 5:
Tech: In J2SE5.0, a method can have a variable number of arguments.
Denoted with three dots following the type, as in printf
(String format, Object... args). Must be
in the last place in the method argument list. This feature is
also referred to by the phrase variable arity methods.
- Virtual Machine (VM) - the
interpreter which reads in and executes the bytecode. Appears
to the program just as if it were a real processor in hardware.
- VM - see Virtual Machine.
|
W,
X, Y,
Z |
|