NAME: ________________________
← Java Programming 6th Edition Ch4 Part2of2 Test
4 Written Questions
4 Multiple Choice Questions
- a variable takes precedence over another variable with the same name.
- a reference to an object that is passed to any object's nonstatic class method.
- nested classes that require an instance.
- the portion of a program within which you can refer to the variable.
4 True/False Questions
-
Optional classes → reside in packages that must be explicitly imported into your programs.
-
Wildcard symbol → a variable takes precedence over another variable with the same name.
-
Reference → a reference to an object that is passed to any object's nonstatic class method.
-
Top-level class → the containing class in nested classes.
Regenerate Test