Exam 11: Classes Continued
Exam 1: Background49 Questions
Exam 2: First Java Programs47 Questions
Exam 3: Syntax, Errors, and Debugging46 Questions
Exam 4: Introduction to Control Statements47 Questions
Exam 5: Using Classes and Objects in Media Computing47 Questions
Exam 6: Introduction to Defining Classes46 Questions
Exam 7: Control Statements Continued47 Questions
Exam 8: Improving the User Interface45 Questions
Exam 9: Introduction to Html and Applets45 Questions
Exam 10: Introduction to Arrays47 Questions
Exam 11: Classes Continued46 Questions
Exam 12: Arrays Continued47 Questions
Exam 13: Recursion, Complexity, and Searching and Sorting47 Questions
Exam 14: Introduction to Collections43 Questions
Exam 15: Multithreading, Networks, Clientserver Programming47 Questions
Select questions type
Methods in a subclass can be related to methods in a superclass in all of the following ways EXCEPT ____.
(Multiple Choice)
4.8/5
(37)
In the TurtleGraphics package, the pen is initially all of the following EXCEPT ____.
(Multiple Choice)
4.8/5
(39)
FIGURE 11-1
-Alec suggests that Amara create documentation for her program by embedding comments using the ____ symbol.

(Multiple Choice)
4.8/5
(34)
The relationship that allows an object of one class to send a message to an object of another class is called ____.
(Multiple Choice)
4.8/5
(40)
A(n) ____________________ class is one that will be instantiated.
(Short Answer)
4.9/5
(34)
When related classes have the same ____, they can be used interchangeably in a program.
(Multiple Choice)
4.7/5
(38)
The methods in an interface are usually private. ____________________
(True/False)
4.8/5
(39)
A class can implement methods in addition to those listed in the interface.
(True/False)
4.8/5
(44)
If more than one class implements an interface, its methods are ____.
(Multiple Choice)
4.8/5
(35)
A(n) ____________________ method cannot be overridden by a subclass.
(Short Answer)
4.8/5
(38)
A class's ____ provides the information needed to use the class without revealing anything about its implementation..
(Multiple Choice)
4.8/5
(34)
A method's ____________________ describe what should be true before it is called.
(Short Answer)
4.8/5
(42)
FIGURE 11-1
-In Figure 11-1 above, we say that AAA ____ Object.

(Multiple Choice)
4.8/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
a.Dependency
b.Extension
c.Overriding
d.Aggregation
e.Inheritance
-When objects are related by sending and receiving a message.
(Essay)
4.8/5
(29)
If a class implements an interface, all its subclasses do so implicitly.
(True/False)
4.8/5
(34)
Class methods can reference only instance variables, never static variables.
(True/False)
4.9/5
(41)
Identify the letter of the choice that best matches the phrase or definition.
a.Dependency
b.Extension
c.Overriding
d.Aggregation
e.Inheritance
-When the subclass method does not exist in the superclass.
(Essay)
4.8/5
(37)
A(n) ____ method is accessible to a class's descendents, but not to any other classes in the hierarchy.
(Multiple Choice)
4.8/5
(51)
Showing 21 - 40 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)