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

When the amount of greenhouse gas in the atmosphere _____, more heat escapes into space. a. decreases b. increases c. remains stable
Which organelle appears to be empty but is filled with liquid? A.cell membrane B.chloroplast C.vacuole D.ribosome. Help ASAP PLEASE
is 5mi bigger or 26,300 ft
When did world War 2 begin
if you were to rewrite "the rider" as a concrete poem, what shape would you use to express the main idea of the poem?
Which event of the French and Indian War do you think was the most significant? Why?
is 3/4 bigger than 7/8
10 to the 6th power multiplied by what equals 10 to the 18th power
Heifer International’s function is to help reduce poverty by providing free food from livestock raised by Heifer International. the tools and expertise to start
Which of these is not a type of trauma discussed in the training: A - Acute B - Chronic C - Complex D - Self-inflicted?