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

The process of digging a site includes _______________ a. carefully recording the location of artifacts. b. accurate descriptions of the artifacts. c. noting th
PLEASE HELP ME! AND THANK YOU!
Element A has 15 protons. Determine the number of neutrons in its isotope with mass number 33
How does age influence the way that you act?
What are the characteristics of high energy waves?
In the 1500s John Calvin brought religious reform to?
A flea and dog are an example of Choose... , because the flea irritates the dog's skin and feeds on its blood. Certain bacteria live in the digestive tract of h
Suppose you have two liquids. One has a pH of 2. The other has a pH of 9. What can you tell from those pH?
Solve in detail plzzzzz
What can you predict may happen between the imperial powers in America