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

after taking 17/30 from their ropes how much is left of marco pam and liam ropes
The _______ is the underlying software that is often paired with groups of applications to create a distribution.
What is the value of the expression below when x = 10 x=10 and y = 4 y=4? 8 x − 7 y 8x−7y
Based on their activation energies and energy changes and assuming that all collision factors are the same, which of the following reactions would be fastest in
GIVING 20 POINTS ANSWER ASAP
What reasons and examples does the author provide to support his claim? (List them in your own words.)
why should an ambassador remain very sensitive in foreign issues​
Factor the expression by the GCF. 12x - 20
Please help will give braineist
Reread paragraph 3 of “What to the Slave is the Fourth of July?” What comparison does Frederick Douglass make in the text between himself and his audience?