JOptionPane is a class that provides GUI

JOptionPane is a class that provides GUI


a) dialog boxes

b) buttons

c) output fields

d) panels and frames

e) all of the above

Answer: a. Explanation: the JOptionPane class contains three formats of dialog boxes, an input dialog box that prompts the user and inputs String text, a message dialog box that outputs a message, and a confirm box that prompts the user and accepts a Yes or No answer. 


Java

Learn More Multiple Choice Question :