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

What is professional education? Please help me to do this.​
Which of the following are examples of genotypes? Dominant or recessive AA, Aa, and as Agouti or self colored Aora
Find the solution of the system of equations: x+3y=4 5x-2y=3
Find the domain of the graphed function.
What is the slope of the graph shown below? ​
Find the shortest distance between the line y = 2x + 3 and the point (-5, 8) PLEASE EXPLAIN IT
what is 0.2 as a fraction in the simplist form
Can someone explain this to me on how I got it like I know of means multiple but like when I did I don’t think it’s correct.
Elliot made 5 more dollars than double what Bruce made. If Bruce earned x dollars, how much did Elliot make? A. 2x - 5 B. 5x + 2 C. 2x + 5 D. 5X-2
what conditions must be present for the effects of osmosis to occur?