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 principle of ________ is that the economic cost of using a factor of production is the alternative use of that factor that is given up.
PLEASE HELP I WILL GIVE 25 POINTS AND BRAINLIEST ANSWER FOR RIGHT ANSWER
i need help please help me
Bakery had 54 rolls 1/6 sold in morning
Can someone help me with my homework
An equivalent expression for 16x-8 is blank. The blank property is used to generate this expression.
Propose a mechanism for the reaction of acetic anhydride with water. b. how does this mechanism differ from the mechanism for the reaction of acetic anhydride w
Who know the answer
Which of the following is a Hebrew belief. A. God does not have moral expectations for people. B. God is fair and just and cares deeply for people. C. The Egypt
If a metal changes color over time from exposure to air, what has likely occurred?