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

As an eighth grader, Barbara Kingsolver reasoned that "everyone with an iota of social position wore polka-dot shirts and miniskirts" in "Life Without Go-Go Boo
One result of the invention of the. Was the increased speed of communication from one area to another far away.
What does x value 4x-2=3
How do I solve absolute value equalities? 4| n+8 | = 56
Homeless families were forced to live in shantytowns called what?
Which best states how these two passages are different? A) The first passage is meant to be humorous, while the second passage is merely informative. B) The
I Need Help!!!!!!!!!!!!!!
What does that sign mean? What’s the name?
What is the ratio of the perimeter of the smaller triangle to the perimeter of the larger triangle?
If the Federal Reserve wanted to expand the money supply in order to increase output, it should do what?