Exam 4: More Object Concepts
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
The reference to an object that is passed to any object's nonstatic class method is called the ____.
(Multiple Choice)
4.9/5
(43)
Match each term with the correct statement below.
-No object associated with them
(Multiple Choice)
4.8/5
(34)
How does an overloaded method become ambiguous, and why might a programmer not be able to see a problem?
(Essay)
4.8/5
(38)
Object-oriented programmers use the term ____ when a child class contains a field or method that has the same name as one in the parent class.
(Multiple Choice)
4.8/5
(48)
Match each term with the correct statement below.
-An illegal action
(Multiple Choice)
4.9/5
(41)
Describe the impact that blocks and methods have on variables with the same name.
(Essay)
4.8/5
(27)
Match each term with the correct statement below.
-Must be explicitly named in an import statement
(Multiple Choice)
4.8/5
(35)
public class StudentScores
{
private int ScoreOne;
private int ScoreTwo;
private int ScoreThree;
____
____
____
____
____
}
Using the code above, fill in the blank lines provided to create a constructor that will require parameters for the three score data fields. Be sure to include the necessary brackets and semicolons.
(Essay)
4.7/5
(36)
It is a convenience to be able to use one reasonable name for ____ that are functionally identical except for argument types.
(Multiple Choice)
4.7/5
(35)
When working with the GregorianCalendar class, what is the statement that will import the GregorianCalendar class using the full class path? Likewise, what statement will import the GregorianCalendar class and any other java.util classes?
(Essay)
4.8/5
(32)
Match each term with the correct statement below.
-Created using the keyword final
(Multiple Choice)
4.9/5
(38)
A disadvantage of Java is the large memory requirements to store a separate copy of each variable and method for each instantiation of a class.
(True/False)
4.7/5
(48)
A locally declared variable always ____ another variable with the same name elsewhere in the class.
(Multiple Choice)
4.8/5
(38)
It is not necessary to create an instance of the Math class because the constants and methods of the class are ____.
(Multiple Choice)
4.8/5
(44)
If you give the same name to a class's instance field and to a local method variable, the instance variable overrides the method's local variable.
(True/False)
4.9/5
(28)
Showing 21 - 40 of 67
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)