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

a penny dropped into a wishing well reaches the bottom in 1.50 seconds. what was the velocity at impact
number that has the same value as 80 tens
Which is an effective way to resist peer pressure to do something you're uncomfortable doing?
The Earth’s core is made of an alloy of A. iron and nickel. B. copper and iron. C. zinc and magnesium. D. iron and zinc.
A transition paragraph often helps to show a change in scene, season, or characters. True False Please ASAP ASAP ASAP ASAP ASAP
$6.30+y=$25 do not get this
when h has the value 6 calculate 6h - 7
If a client is working on reducing stress, what should the fitness professional suggest as a first step? A. Take a meditation class. B. Identify the causes of s
To go from Ur to the Halys River, one would travel more than 600 miles northwest. a. Yes b. No
What is a difference between starch and glycogen? A.) Starch stores energy, and glycogen provides structural support. B.) Starch is found in plants, and glycoge