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
If greeting is a String object, which method call is incorrect?
(Multiple Choice)
4.9/5
(46)
Input to a method enclosed in parentheses after the method name is known as ______________.
(Multiple Choice)
4.9/5
(45)
Based on the following statement, which of the following statements sets the title of the frame: JFrame frame = new JFrame();
(Multiple Choice)
4.8/5
(31)
Which of the following is a mutator method for the Rectangle class?
(Multiple Choice)
4.8/5
(39)
Which of the following declares a variable that will store a count with an integer value?
(Multiple Choice)
4.8/5
(49)
Which package is automatically imported in any Java program?
(Multiple Choice)
4.8/5
(36)
What is the output of the following code:
Int num1 = 6;
Int num2 = 10;
Num1 = num1 + num2;
Num2 = num1 + num2;
System.out.println(num1 + ", " + num2);
(Multiple Choice)
4.9/5
(34)
What is the output of the following code: Circle c1 = new Circle(3);
Circle c2 = new Circle(3);
C1)setRadius(4);
System.out.println(c2.getRadius());
(Multiple Choice)
4.7/5
(30)
What is the term used to specify the remote control for a class, indicating what you can do with the objects that belong to the class?
(Multiple Choice)
4.8/5
(43)
Which statement declares and stores an integer value in a variable?
(Multiple Choice)
4.9/5
(37)
Which of the following method calls illustrates the return value of a method as a parameter?
(Multiple Choice)
4.9/5
(45)
What is the declared return type for a method that does not have a return value?
(Multiple Choice)
4.9/5
(45)
Showing 61 - 76 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)