Solved

Which of the Following Statements Is False

Question 14

Multiple Choice

Which of the following statements is false?


A) You must create an object of class JOptionPane to use its static method showMessageDialog.
B) JOptionPane method showInputDialog displays an input dialog containing a prompt and a field (known as a text field) in which a user can enter text.
C) String method format works like method System.out.printf,except that format returns the formatted String rather than displaying it in a command window.
D) An input dialog allows the user to enter data into a program.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions