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

Find the remainder when 2x^4-6x^3+2x^2-x+2 is divided by x+2
The widths of two similar rectangles are 16 cm and 14 cm. What is the ratio of their perimeters? Of their areas? a. 8:7 and 64:49 b. 9:8 and 64:49 c. 8 and 81-
what are ten american triebs
What effects did the battle of bunker hill have?
you shoot a model rocket into the air with a speed of 18.2 m/s. now high does the rocket go?
Acme Inc. spent $870 less on postage than on supplies. The ratio of postage costs to supply costs was 2 to 5. How much did Acme spend on postage? Solve this pro
what are at least 5 general PowerPoint guidelines that's you find useful and provide an example of how you would use each in real life setting
How do you use Bill of rights in a sentence
What is the Largest Desert in the World?
Help me please. What Is Stonehenge?