4 Written questions
4 Multiple choice questions
- a variable takes precedence over another variable with the same name.
- refers to an object's memory address.
- the containing class in nested classes.
- a reference to an object that is passed to any object's nonstatic class method.
4 True/False questions
Optional classes → reside in packages that must be explicitly imported into your programs.
Redeclare a variable → attempt to declare a variable twice—an illegal action.
Overloading → involves using one term to indicate diverse meanings, or writing multiple methods with the same name but with different arguments.
Package → the portion of a program within which you can refer to the variable.