/** Show some things from java.lang.Math */ public class Math1 { public static void main(String[] argv) { System.out.println("A random number is " + Math.random()); System.out.println("The square root of 2 is " + Math.sqrt(2.0)); } }