kparker1640 kparker1640
  • 03-07-2019
  • Computers and Technology
contestada

The ____ method takes a String argument and returns its double value.

a.
parseString()

b.
returnDouble()

c.
parseInt()

d.
parseDouble()

Respuesta :

Iqta
Iqta Iqta
  • 14-07-2019

Answer:

d

Explanation:

In java you can use pareDouble(string str) to convert the string into double.

for example if you have string like this.

string str  = [tex]"16.45" ;[/tex]

then you can use

double mydouble = Double.parseDouble(str);

print(mydouble); //it will print out 16.45

but if the string would not be able to be parsed into double then you will get an error.

Answer Link

Otras preguntas

What is the characteristics of a panther
can you guys keep it simple and help me out #help
Pleaseee help! Important. Brainliest to correct!
PPPPPPPPPPLLLLLLLLLLZZZZZZZZZ Help!!!!!!! Both Mora and Ortiz are known for their efforts to preserve the cultures from which they come. To what extent does eac
112) find median from given date: x: 5 15 25 35 45 55 f: 8 20 28 30 10 4 ​
how can you tell which Element is it, by just the diagram? help​
The ratios are not constant; therefore, the points in the table do not form a direct variation.
i need help with this , I understand the thingy but I forgot what to do to solve it
What role did the Powhatan play in the founding of Jamestown? They attacked the settlement, making it difficult for the colonists to thrive. They taught the col
Harry was very organized,so......………