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

In anceint Greek democracy, women were ______. able to vote subject to their husbands or fathers able to serve on juries subject to all men in Greece
Please help me with this and thank you
Will give brainliest if correct! Asap!!!!!! What is a bureaucracy? A. a group of officials who help run a government or other organization B. a hereditar
7+32+(12-8)÷2×4 what is it equal to​
If the length of this piece of pie is 5 inches , what was the area of the whole pie
How many programs are at CTSO
What is the theme of unit five flvs English A. Equality B.identity C.opportunity D. Strength
A large scale farmer that owned more than 20 slaves
from paragraph two , witch is a use of personification ?
why do we need light energy​