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
Messages that change an object's state are called ____________________.
(Short Answer)
4.8/5
(38)
A(n) ____ is a runtime entity that contains data and responds to messages.
(Multiple Choice)
4.8/5
(40)
All of the following are true about constructors, EXCEPT ____.
(Multiple Choice)
4.9/5
(41)
Java programmers must instruct the program to delete objects explicitly.
(True/False)
4.8/5
(40)
____ is used to set up a skeletal, incomplete, but running program during program development.
(Multiple Choice)
4.7/5
(37)
A program can detect and respond to mouse events by attaching ____ objects to a panel.
(Multiple Choice)
4.8/5
(38)
In the hierarchy of Java classes, at the root of the hierarchy is a class called ____.
(Multiple Choice)
4.8/5
(42)
When a class includes several constructors, the code for them can be simplified by ____ them.
(Multiple Choice)
4.8/5
(38)
An object must have its own unique identity, which distinguishes it from all other objects in the computer's memory. ____________________
(True/False)
4.7/5
(42)
Parameters listed in a method's definition are called ____ parameters.
(Multiple Choice)
4.9/5
(33)
In the code ____, i and j are memory locations that have not yet been initialized, but which will hold integers.
(Multiple Choice)
4.7/5
(35)
The combining of data and behavior into a single software package is called ____.
(Multiple Choice)
4.8/5
(31)
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
-A process in which unreferenced objects are removed from memory.
(Essay)
4.9/5
(50)
A variable of a primitive type is thought of as a box that contains a pointer to an object. ____________________
(True/False)
4.9/5
(32)
Finding run-time errors in a program is more difficult when there are several classes instead of just one.
(True/False)
4.8/5
(41)
An object has ____________________, which is another way of saying that at any particular moment its instance variables have particular values.
(Short Answer)
4.7/5
(26)
Variables declared within any compound statement enclosed in braces are said to have ____ scope.
(Multiple Choice)
4.8/5
(36)
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
-A type of visibility modifier.
(Essay)
5.0/5
(37)
Showing 21 - 40 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)