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

I need the answer- it's easy!
A truck driver drove 1,602 miles in 8 days. He drove the same number of miles each day. How many miles did he drive each day?
please give meaning this quatotion​
There are 3,600 seats in an arena. Tier 1 has 1,200 seats. Tier 2 has 1,400 seats. Tier 3 has 1,000 seats. What fraction of the seats are Tier 2?
how do you cancel subscription
Which property is modeled below? (-8 · 7) · 3 = -8 · (7 · 3)
May I please receive help
a split-brain patient has a picture of a cow flashed to her left hemisphere and that of a fork, to her right hemisphere. she will be able to
Convert 114five 1 to base ten.
Read the list of rights below. Draw a graphic organizer with two columns. In the first column, list each of the rights below that you think Americans have today