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

Your personality comes from your parents and what you eat. True False
What is 1/4x1/4?? Please help!!
What was the name of the laws limiting the rights of freedmen? A) black codes B) slave codes C) programs D) amendments
jana has 40 arcade tickets to give away she gives them all to her 5 friends who share them equally how many tickets does each friend get
2. Why is not Simon interested in hanging out with Cal?
10+8=2y what is the value of y
Enter the explicit rule for the geometric sequence. 9,6,4,83,…
What is a musical piece in which was solo instrument is a accompanied by an orchestra
What is a competency based interview?
An idle ball on a hilltop, though not moving, contains _____. A. Potential energy B. Kinetic energy C. Sound energy D. Potential energy and kinetic energy