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

HELP!! i really need the answer to this question but i cant find the solution
I have no clue pls help
Data collected for a non-invasive test gives 20% false positive and 5% false negative. Further, the data shows that 1 out of 10,000 people have the disease the
please help! You are going to study the diversity of the island lizard population that was relocated to the mainland. What would be the best approach to the st
Hari wants to buy a cricket bat of the cost Rs. 728.75 and a pair of gloves of the cost Rs. 837.65. Find the total amount he needs.​
what is radical and how to use it
AASwdrf5gf6gf6fgtgtgtgtggg6dgg
Under Article 1, what is the minimum age required to serve in the House of Representatives? How long must that person have been a citizen of the U.S.?
HELPPPPPPPPPP PLEASEEEEEEEE!!!!
What is the standard form for 6,570,000