Exam 2: Using Objects
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
The value calculated by a method is called its _____ value.
(Multiple Choice)
4.9/5
(35)
Drawing instructions should be placed inside the ____ method, which is called whenever the component needs to be repainted.
(Multiple Choice)
4.8/5
(31)
Which of the following constructs a Circle of radius 3, assuming the construction parameter is the radius value?
(Multiple Choice)
4.8/5
(30)
Which of the following declares a variable that will store a measurement with fractional parts?
(Multiple Choice)
4.9/5
(33)
Assuming the following Java statement:
Circle c1 = new Circle(3);
What does the variable c1 store?
(Multiple Choice)
4.8/5
(32)
What is the name of the type that denotes a string of characters?
(Multiple Choice)
4.8/5
(45)
What term is used to refer to text in a program that is an explanation for human readers of the code?
(Multiple Choice)
4.7/5
(34)
A method is a sequence of ___ that accesses the data of an object.
(Multiple Choice)
4.7/5
(37)
The setVisible method of the JFrame class returns what kind of argument?
(Multiple Choice)
4.8/5
(25)
A(n) _____________ is a collection of classes with a related purpose.
(Multiple Choice)
4.9/5
(27)
Complete the following statement, which constructs an ellipse.
Ellipse2D.Double ellipse = new ____________________ (x, y, width, height);
(Multiple Choice)
4.7/5
(32)
Which of the following represents a method declaration with a void return type?
(Multiple Choice)
4.8/5
(40)
Which statement calls a constructor with no construction arguments?
(Multiple Choice)
4.8/5
(35)
Which of the following statements about methods is correct?
(Multiple Choice)
4.7/5
(45)
In the code below, write a statement that sets the graphic to green.

(Multiple Choice)
4.7/5
(33)
If greeting is a String object, which method call is incorrect?
(Multiple Choice)
4.8/5
(39)
Assuming that the variable count has been declared as type int, which statement changes the value of count?
(Multiple Choice)
4.7/5
(40)
Showing 61 - 80 of 82
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)