Multiple Choice
Which of the following statements converts a double variable named tax to a string and stores the value in the String object named str?
A) String str = Double.toString(tax) ;
B) String str = double(tax) ;
C) String str = double.toString(tax) ;
D) String str = tax.Double.toString(str) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: What will be the value of position
Q6: Most of the String comparison methods are
Q7: What will be displayed after the following
Q11: What will be displayed after the following
Q34: You may cause an off-by-one error when
Q35: Given the following code, how many times
Q44: You can concatenate String objects by using
Q45: The term _ is commonly used to
Q56: What will be the value of position
Q58: The _ method returns a copy of