Which of the following statements convert a double value d into a string s?
A. s = (new Double(d)).toString();
B. s = (Double.valueOf(s)).toString();
C. s = new Double(d).stringOf();
D. s = String.stringOf(d);
The correct answer is A
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.