Exam 2: Using Objects
Exam 1: Introduction98 Questions
Exam 2: Using Objects76 Questions
Exam 3: Implementing Classes103 Questions
Exam 4: Fundamental Data Types125 Questions
Exam 5: Decisions120 Questions
Exam 6: Loops128 Questions
Exam 7: Arrays and Array Lists118 Questions
Exam 8: Designing Classes95 Questions
Exam 9: Inheritance101 Questions
Exam 10: Interfaces85 Questions
Exam 11: Inputoutput and Exception Handling109 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion110 Questions
Exam 14: Sorting and Searching109 Questions
Exam 15: The Java Collections Framework110 Questions
Exam 16: Basic Data Structures104 Questions
Exam 17: Tree Structures110 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Graphical User Interfaces76 Questions
Exam 20: Streams and Binary Inputoutput82 Questions
Exam 21: Multithreading82 Questions
Exam 22: Internet Networking74 Questions
Exam 23: Relational Databases75 Questions
Exam 24: XML74 Questions
Exam 25: Web Applications75 Questions
Select questions type
What is the name of the type that denotes whole numbers?
Free
(Multiple Choice)
4.8/5
(26)
Correct Answer:
B
To use a class in another package you need to ________ it.
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
D
What is the name of the type that denotes floating-point numbers that can have fractional parts?
Free
(Multiple Choice)
4.7/5
(42)
Correct Answer:
A
Which of the following constructs a Circle of radius 3, assuming the construction parameter is the radius value?
(Multiple Choice)
4.9/5
(39)
Which of the following values does not have a primitive type?
(Multiple Choice)
5.0/5
(44)
Which of the following declares a variable that will store a welcome message?
(Multiple Choice)
4.8/5
(37)
Which method would you use to obtain the string "1234567890" from the string "123-456-7890"?
(Multiple Choice)
4.9/5
(37)
A set of values and the operations that can be carried out with those values are called _______.
(Multiple Choice)
4.8/5
(39)
Which statement calls a constructor with no construction parameters?
(Multiple Choice)
4.9/5
(35)
A _____________ is a collection of classes with a related purpose.
(Multiple Choice)
4.9/5
(34)
Which of the following is the best choice for a variable identifier that will store a name?
(Multiple Choice)
4.8/5
(40)
What is the output of the following code: Circle c1 = new Circle(3);
Circle c2 = c1;
C1)setRadius(4);
System.out.println(c2.getRadius());
(Multiple Choice)
4.8/5
(49)
What is the name of the type that denotes a string of characters?
(Multiple Choice)
4.9/5
(30)
Which of the following statements about methods is correct?
(Multiple Choice)
4.8/5
(39)
What terminology describes a method that returns information about its implicit parameter and does not change the parameter's internal data?
(Multiple Choice)
4.8/5
(43)
What terminology describes a method that modifies the internal data of its implicit parameter?
(Multiple Choice)
4.7/5
(37)
Showing 1 - 20 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)