Lecture Notes on 31 October 2011 Point A = new Point (2.0, 1.0); Point B = new Point (-1.0, -2.0); Line AB = new Line (A, B); System.out.println ("Slope of AB: " + AB.getSlope()); // randomize an array public void randomize (int[] a) { for (int i = 0; i < a.length; i++) { int rndIdx = (int)(Math.random() * a.length); int tmp = a[i]; a[i] = a[rndIdx]; a[rndIdx] = tmp; } } // check if the html page is well formed. My Page

My Home Page

First Paragraph