A dialog box that displays the options Yes, No, and Cancel can be created using the ____ method in the JOptionPane class.
A. showDialog()
B. showConfirmDialog()
C. JOptionDialog()
D. ConfirmDialog()
Answer: B
Computer Science & Information Technology