/** * LoopTester creates objects A, K, Y * and prints them to form the word KAYAK * * @author Jessica O. Sugay * @version 29 July 2010 */ public class LoopTester { public static void main( String[] args ) { LetterA a1 = new LetterA( 7, 7 ); LetterK k1 = new LetterK( 7, 7 ); LetterY y1 = new LetterY( 7, 7 ); System.out.println( k1.toString() ); System.out.println( a1.toString() ); System.out.println( y1.toString() ); System.out.println( a1.toString() ); System.out.println( k1.toString() ); } }