Page 3 Excercises



Match up the following.

_____ information that a class (or object) always knows about or "has" with it
_____ actions that a class (or object) can perform
_____ able to be changed
_____ unable to be changed
_____ the JAVA keyword for making a data member constant
_____ the JAVA keyword for associating a member with the class
_____ a relation where an object has another object as a data member
_____ the degree to which other classes or objects may call a method member or change a data member
_____ allows unrestricted access of a member to other classes or objects
_____ does not allow any access of a member to any other classes or objects
_____ a relation where a class inherits from another class
_____ a class that ultimately inherits from some particular class
_____ the immediate parent class
_____ a diagram that shows all of the classes involved in a program, the inheritance hierarchies, and usually all the members
_____ a diagram that shows a snapshot of what the computer looks like during computation of a program
_____ a diagram that shows the order of computational steps for a program
a) constant
b) object/memory/state diagram
c) method members
d) data members
e) descendent
f) superclass
g) static
h) public
i) visibility
j) variable
k) control flow diagram
l) "is a" relation
m) "belongs" to relation
n) private
o) class/inheritance diagram
p) final