Vocabulary

This is a non-exhaustive list of vocabulary you should know. In particular, you should know the precise meanings and be able to find the "Things in a Java program."

Recent additions are in green.

Contents

General

algorithm
program
source code
object code
compiler
Java virtual machine
iteration
concrete
abstract
method activation
stack
linked list
(binary) tree
preorder, inorder, postorder

Things in a Java program

identifier
literal
operator
delimiter
comment
qualified name
variable
constant
declaration
scope
expression
statement
block
value
type
primitive type
composite (or compound) type
array
class
interface
abstract class
subtype
supertype
method call (invocation)
receiver
static method call
(static) method definition
method signature
overloading
parameter
return type
instance
instance variable
(instance) method
class invariant
initialization
assignment
allocation
instantiation
generic class
class parameter
iterator

Java statements

variable declaration
assignment
if (test) { stmts } else { stmts }
while (test) { body stmts }
do { body stmts } while (test);
for (init; test; next) { body stmts }
for (type var: array) { body stmts }
for (type var: collection) { body stmts }
break
return
return value
switch (integer expr) { cases }
try { statements }
catch (exception-class parameter-name) { statements }
throw

Java types

primitive types
arrays
with variable .length
classes
exception-related classes
collection (and related) classes and interfaces
GUI classes and interfaces

Cary Gray

Last modified: Tue Dec 10 11:32:19 CST 2013