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

As a result of the Whiskey Rebellion,
what were Hoovers beliefs regarding the Great Depression?
What cells were chloroplast present in? What did they look like in the various cells? Be specific.
The Sharpeville demonstration of 1960 resulted in
When did howard latimer die?
An internal conflict features character vs
what was the name given to the British practice of taking American Sailors from their ships and forcing them to serve in the British Navy
A vehicle driven into a curve tends to a. Go in a straight line. b. store energy in motion. c. increase speed. d. increase traction
draw 2 lines to make 1 square and 2 triangles in a trapezoid
In “The Seafarer” the phrase “summer’s sentinel,” meaning a cuckoo, is an example of a. a kenning. c. a scop. b. a predicate. d. an exile.