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

Find the 13Th term of geometric sequence 1,2,4,
Which feature makes the government created by the Constitution a federal system? A.The states limit each other's power. B.The legislative, executive, and judici
2x - 3x - 18 + -18 + 2x + 5x x= .....? A.X=4.5 B.X=0 C.X=6 D.X=-4.5 :) please help?
Burger King restaurants have reached maturity. They are located throughout the United States and have been successful for many years. According to Kreiser's bus
list down strengths and weakness of potassium argon dating as a method of dating archaeological materials​
Helpp pleaseee this is math wiwnsbsbsb
Which of the following describes a type of cell division that produces cells used in sexual reproduction? A. mitosis B. meiosis C. binary fission D. cell splitt
why does elephant has thicker legs? Explain in terms of breaking stress?​
Simplify. 310−−√ please help me
i)1-2(2x+1)=1-(x-1)ii)3.6x-6.1=5.9_2.4xquestion from equation and inequality​