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

The term Age of Exploration describes: A. the period when Scandinavians and Polynesians traveled to new countries for the first time. B. the period when m
Factor n ^3 - n ^2 + 3n - 3.
Give one example of a change to the tropical rainforest ecosystem and explain why it occurred.
What's is 1,754 divided by 21 in fraction form
my homework starts with this...what do I do?
What did the First Hundred Days program entail? Getting rid of government officials who were incompetent. Passing as much legislation to improve the economy as
Solve for x 14 -2x = \frac{3 + x}{2}
What effect can camera tilt create? Do you think this is effective? Why or why not?
List three agreements made in the Missouri Compromise.
Which of the following is not a function of skin. A. Provide support for the body B. Protect the body C. Form vitamin d D. Rid the body of waste