Multiple Choice
What will be displayed when the following statement is executed?
JOptionPane.showMessageDialog(null, "Java is fun!") ;
A) a message dialog box with "Java is fun!" on the OK button
B) a message dialog box with "Java is fun!" in the title bar
C) a message dialog box with "Java is fun!" in the message area
D) A message dialog box will be created in memory, but it will not be displayed.
Correct Answer:

Verified
Correct Answer:
Verified
Q6: A modal dialog box<br>A) suspends execution of
Q7: If panel references a JPanel object, which
Q8: When using the BorderLayout manager, how many
Q9: The signature of the actionPerformed method in
Q10: This is a basic window that has
Q12: Because the System.out.println method sends its output
Q13: _, which may appear alone or in
Q15: A JFrame object's content pane is automatically
Q16: The ActionListener interface is in this package.<br>A)
Q41: A GUI program automatically stops executing when