class SqRoot { public static void main(String[] args) { double d = new Double(args[0]).doubleValue(); double root = Math.sqrt(d); System.out.println( "The square root of " + d + " is " + root); } }