Answer :

cheathere

Answer:

JOptionPane

Explanation:

  • The class "JOptionPane" are used to pop / create dialogue boxes for the user to enter the input for a question.
  • JOptionPane contains methods to create input dialogue boxes, message dialogue boxes, option dialogue boxes and confirm dialogue boxes.
  • The dialogue boxes can be just message dialogue boxes which gives some message to the user. It doesn't require anything to be input from the user. It is just a message box.
  • Where as input dialogue box requires the user to input something.
  • Confirm dialogue box asks the user to answer a question yes / no / cancel.
  • Option dialogue box asks the user to select the options.
  • So, option (d) JOptionPane is the answer for the question.
  • Option (a), (b) and (c) are used for different purposes but not to create dialogue boxes. So, options (a), (b) and (c) are not the correct answers for the question.

Other Questions