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

Which of the following is the most important process specific to land-dwelling plants? a. production of photosynthetic pigments b. conservation of water
Solve the equation for x . 2/7 (14-28x)=20
determine the percent composition of Ca3(PO4)2
I'm stuck and need help -8 + 4
Find the value of y round your answer to the nearest tenth cos y y=8/13
plzzz....someone ....Diffusion
What is the correct definition of a constituent? A. a private bill introduced by a congressperson or senator B. a person from a congressperson's district or a s
Which resources does NO need to be cycled by ecosystems because a continuous, unlimited supply is available
can anyone solve functions
What are the pros and cons of implementing an embargo on a country? Do you think that implementing this barrier usually has a positive result? Explain your answ