in JAVA by
Which method is used to convert a String to a Double-object in Java?

a) Integer.parseInt()

b) Integer.valueOf()

c) Double.parseDouble()

d) Double.valueOf()

1 Answer

0 votes
by

Answer: d) Double.valueOf()

Explanation: The Double.valueOf() method is used to convert a String to a Double object in Java.

...