Multiple Choice
The JOptionPane constant used to display an icon prompting the user for input is:
A) JOptionPane.ERROR_MESSAGE.
B) JOptionPane.INFORMATION_MESSAGE.
C) JOptionPane.QUESTION_MESSAGE.
D) JOptionPane.WARNING_MESSAGE.
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Class JTextArea's getSelectedText method _.<br>A) returns the
Q35: When components are added to a container
Q37: The text "Hello there,my friend." is an
Q39: The Shift key is a(n) key.<br>A)modifier<br>B)action<br>C)output<br>D)None of
Q43: Which of the following is stateless?<br>A) JButton.<br>B)
Q51: Method paintComponent is called when:<br>A) a lightweight
Q55: FlowLayout is _.<br>A) an abstract class<br>B) a
Q58: Selecting a JList item generates _.<br>A) an
Q73: Which of the following statements makes the
Q75: Which of the following statements about heavyweight