Professional Documents
Culture Documents
Vocab
Vocab
each
vocab
word,
find
one
or
more
occurrence
of
it
in
the
code
below.
Be
able
to
identify
all
occurrences
of
each
vocab
word.
Note
that
some
of
them
may
appear
a
lot!
public int getThing() { return thing; }
public void foo(Color c)
{
String s = hello;
Point p = new Point(2,4);
int num;
num = 3;
p.x = 7.1;
System.out.println(s);
}
method
call
constructor
call
field
reference
variable
reference
statement
type
method
declaration
string
literal
int
literal
floating
point
literal
parameter
primitive
variable