java.lang.Double.valueOf(double d) java.lang.Double.toString(double d) java.lang.Double.valueOf(String s) java.lang.Double.valueOf(double d) package com.codingdict; import java.lang.*; public class DoubleDemo { public static void main(String[] args) { Double d1 = new Double("6.5"); // returns a Double instance representing the specified double value System.out.println("Value = " + d1.valueOf(3.5d)); } } java.lang.Double.toString(double d) java.lang.Double.valueOf(String s)