Solved

To Convert the String, Str = "285

Question 9

Multiple Choice

To convert the string, str = "285.74" to a double, use the following statement:


A) double x = str;
B) double x = Double.parseDouble(str) ;
C) double x = Double.Double(str) ;
D) double x = str,Double.parseDouble;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions