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

let f prime (x) = 2/x and f (square root e) = 5 then f (e) =
Find x if y=-2 4x-6/y=15a. 9/2b.5c.3d.-6/23
Why did Britain refuse to withdraw troops from Ohio valley despite the agreement they made with the us in the treaty of Paris
I need help on 4 A company ships a cube with side lengths of 2 ft in a crate that is a larger cube with side lengths of 4 ft.paccking materials is place around
can someone help please
A strong electric charge is
The reader is led to believe that andrew jackson, the fighting dog, lost his last fight because of
Which mineral property describes a minerals resistance to being scratched?
if ur cam works and is set up on ur computer to use.. wats it mean when it says cant support wat ur tryin to use it for?
What is the acceleration of an object that has a velocity of 18 m/s and is moving in a circle of radius 30m?