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

Who established Buddhism? A. Laozi B. Siddhartha Gautama C. Confucius D. Ashoka
Otis has $6.72, and he wants to buy some pencils that cost $1.12 each. How many pencils can he buy? 4 pencils 5 pencils 6 pencils 7 pencils
Write a sentence using the word Stock PLEASE DON COPY ON GOO>GLE
Which of the following are considered indirect costs for workplace accidents?
What are the examples of democratic practices?​
What are the charges against Martha carrier
Flag Let A, B, and C be non-singular 2x2 matrices, I the 2x2 identity matrix and k a scalar. The following statements are incorrect. For each statement, write d
Which of the following is true about anxiety disorders? Select one: a. Most people suffer from an anxiety disorder at some point in their lives. b. Excessive st
what is the relationship between a democratic country in capitalism?
Write a definition for the following: ATSI - Ethics - Bioharvesting - Country (as understood by Indigenous Australians) - Place (as understood by Indigenous Aus