Kareemgreen9214 Kareemgreen9214
  • 22-08-2019
  • Computers and Technology
contestada

The datatype returned by the JOptionPane.showInputDialog method is

String.
int.
double.
specified by the user in the method call.

Respuesta :

Branta Branta
  • 02-09-2019

Answer:

String

Explanation:

JOptionPane is a convenience swing class which displays different kinds of dialog boxes.Input dialog in particular represents prompts the user for some input. There are several polymorphic forms for this function with the most basic form being:

public static String showInputDialog(Object prompt)

As we can see the return type for this function is of type String which captures the value entered by the user on the dialog box.

Answer Link

Otras preguntas

three consicutive integers add up to 57 ? what are these integers?​
Please need help with A) B) and C)
Sammary of "Benefits of Online Shopping" not more than 70 words​
What is a satellite.
What is infrared used for? . Electrical heating . Energy efficient lamps . Satellite communications . Sun tanning
What does it mean when someone says “ I’m not young minded.”
100 points!! please help quickly!!! Which sentence from the excerpt most strongly supports the inference you can make about the author's point of view in "The I
i need answer by today​
How do you get part (c)? Part (a) Which statement best describes the numbers of protons and electrons in the penny when it is charged as indicated? Electrons we
La longitud de un rectángulo mide 2 veces su ancho. El área del rectángulo mide 32 pulg². ¿Cuál es la longitud del rectángulo?