Quiz4 1
Quiz4 1
True (*)
False
Correct Correct
True
False (*)
Correct Correct
Correct Correct
3 (*)
Correct Correct
True
False (*)
Correct Correct
Section 4 Quiz 1 - L1-L2
(Answer all questions in this section)
When you don�t find similar lines of code to describe an object�s behavior.
When you don�t want to repeat similar lines of code to describe an object�s
behavior. (*)
7. void type methods don�t return any values Mark for Review
(1) Points
True (*)
False
Correct Correct
void
instance
System
new (*)
Correct Correct
Correct Correct
10. Import statements are placed above the class definition. Mark
for Review
(1) Points
True (*)
False
Correct Correct
Section 4 Quiz 1 - L1-L2
(Answer all questions in this section)
12. Which of the following wild card character is used to import all
the classes in a particular package? Mark for Review
(1) Points
* (*)
Correct Correct
13. Which two are valid import statements of the Scanner class? Mark
for Review
(1) Points
import java.util;
import java.*;
Correct Correct
awt.font
java.awt.font (*)
java
java.awt
Correct Correct
import javax.swing.JOptionPane;
import javax.swing.JFrame; (*)
import javax.swing.J*;
import javax.swing;
Correct Correct