Exam 6: Introduction to Defining Classes
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
When a new class is created, it includes the characteristics of its superclass through a process called inheritance. ____________________
Free
(True/False)
4.9/5
(32)
Correct Answer:
True
An argument is a value passed to a method when it is invoked. ____________________
Free
(True/False)
4.8/5
(34)
Correct Answer:
True
Defining a(n) ____ for a shape allows a user to manipulate it by changing its color, position, or size.
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
A
Identify the letter of the choice that best matches the phrase or definition.
a.Garbage collection
b.Reference type
c.Public
d.Information hiding
e.Helper method
-Includes String, Student, Scanner, and other classes.
(Essay)
4.8/5
(43)
All classes have a similar structure, consisting of all of the below parts EXCEPT ____.
(Multiple Choice)
4.9/5
(37)
When a Java program is executing, the computer's memory is holding all of the following EXCEPT ____.
(Multiple Choice)
4.8/5
(34)
In a method, the return type should be ____ when the method returns no value.
(Multiple Choice)
4.7/5
(35)
It is the role of ____ to contain data and to respond to messages.
(Multiple Choice)
4.9/5
(38)
A(n) ____________________ is a description of a task that is performed in response to a message.
(Short Answer)
4.9/5
(39)
Do not use a variable until you have assigned its initial value.
(True/False)
5.0/5
(29)
When sending messages, a client only needs to know the server's identity. ____________________
(True/False)
4.8/5
(32)
An object has ____, as defined by the methods of its class.
(Multiple Choice)
4.9/5
(47)
Identify the letter of the choice that best matches the phrase or definition.
a.Garbage collection
b.Reference type
c.Public
d.Information hiding
e.Helper method
-Used when a task is broken into subtasks.
(Essay)
4.8/5
(30)
In the hierarchy of Java classes, if class A is immediately above class B, A is the subclass or child of class B.
(True/False)
4.7/5
(42)
When a Java program is executing, memory for data is allocated within objects.
(True/False)
4.8/5
(32)
FIGURE 6-1
-Figure 6-1 above shows the Student variable before and after it has been assigned the value ____.

(Multiple Choice)
4.9/5
(30)
A(n) ____________________ is a software package or template that describes the characteristics of similar objects.
(Short Answer)
4.8/5
(33)
A class template can include more than one constructor, provided each has a unique parameter list.
(True/False)
4.8/5
(29)
Showing 1 - 20 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)