This website is preserved for historical and scholarly reference and is no longer actively maintained.
QUIZ 4
August 31, 1998
Fill in the blanks with the most appropriate word from the list at the bottom of the page. Words from the list may be used several times, once, or not at all.
#1. A __________ variable belongs to the entire object and not to any one particular method.
#2. Helper methods must be declared __________.
#3. Java provides the keyword __________ so that a method can reference the object is belongs to.
#4. __________ variables have similar lifetimes as parameters -- they are automatically created when the method is invoked and are automatically destroyed when the method returns. Unlike parameters, they must be initialized.
#5. An __________ is a particular instance of a class.
-------------------- List of word from which to choose answers --------------------
prototype
public
private
local
this
constructor
overloading
return
instance
parameter
helper
variable
signature