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

Type of chemical reaction of Ca(OH)2.
On a coordinate plane, a right triangle has points A (negative 5, negative 6), B (negative 5, negative 2), C (negative 2, negative 2). Examine the right triangl
1.2.6 Quiz: Chronological Thinking Question 5 of 10 Though Japan's imperial system is thousands of years old, Japanese emperors had very little power during the
What important documents came out of each revolution? American Revolution – French Revolution –
Describe THREE learning stations based on the following skill theme for locomotion
What is the summary of the podcast "Go after what you want before it's too late with" by Rich Cardona
Business is a social process . Discuss​
help … fr …. D: D: D: D:
yhisriyftt carzy and want one g come 6x 10-1'coulomb or one unit. The ratio, mass for each of the particle is 9.58 x 10" per gram. Hence, the mass​​
In (x, y), if x is _____________, then (x, y) lies either in the 2nd quadrant or in the 3rd quadrant.