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

do you say i am from nebraska in french
The sales tax on a purchase of $56 is 7.5%. What is the total purchase price, including the sales tax
Was the Interstate Commerce Act harmful or beneficial?
If the volume of a spehere is 2304pi cm cubed, find the radius and the surface area
A negatively charged subatomic particle that occupies orbitals around an atomic nucleus
NEED HELPS FAST PLS AND THANK YOU Manuel and Ruben both have bank accounts. The system of equations models their balances after x weeks. y = 11.5x + 22 y = –13
what did sumerians believe about their king
What number has 7 thousands, 3 fewer hundreds than thousands, 1 more ten than thousands, and 1 more one than hundreds?
Which of the following statements best describes the relationship between a line and a point in a plane? exactly one plane contains a given line and a point on
how is social status directly related to health care?