Solved

Which One of the Following Statements Can Be Used to Convert

Question 53

Multiple Choice

Which one of the following statements can be used to convert a string str to a double?


A) double n = str.parseDouble() ;
B) double n = Integer.parseDouble(str) ;
C) double n = Double.parseDouble(str) ;
D) double n = double.parseDouble(str) ;

Correct Answer:

verifed

Verified

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

Related Questions