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

The width, of a rectangle is 1/2 of its length. What are the sides of the rectangle if its perimeter is 63 in
100° 100⁰ X = ??????
(1) When we call someone “pig” or “swine,” we do not mean it as a compliment. (2) But pigs do not deserve to be used as a symbol for an insult. (3) They are pro
1.07 x 104 -3.38 × 10³
What is this phrase in English? "Mi madre es muy inteligente."
Complete the sentence with a word that means the same as "rare"
Suppose D(T) = A(T-H)2 +K represents the hieght of an object in feet after T seconds. Suppose an object has a maximum height of 12 feet after 2 seconds. This sa
b) An earthed conductor was brought near the charged student. A spark jumped between the conductor and the student. The potential difference between the conduct
1.08 to the 3rd power?
Plot the graph of 2x - y = 6 and y = 4. Write down the coordinates of the point where the lines intersect