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

Things in a Java program

identifier
reserved word
operator
literal
delimiter
comment
qualified name
variable
constant
declaration
scope
expression
statement
block
value
type
type cast, promotion
primitive type
composite (or compound) type
array
class
interface
abstract class
subtype
supertype
dynamic type (vs. static)
subtype polymorphism
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

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 }
break
return
return value
switch (integer expr) { cases }
try { statements }
catch (exception-class parameter-name) { statements }

Java types

primitive types
  • char
  • int (also short and long)
  • double (also float)
  • boolean
arrays
with variable .length
classes
  • String
  • Scanner

Cary Gray

Last modified: Mon Mar 23 07:18:26 CDT 2015