import java.io.*; public class ThreadTest2 extends Thread { public static void main(String[] args) { System.out.println ("Hello"); ThreadTest2 tt = new ThreadTest2(); System.out.println ("Goodbye"); } public ThreadTest2 () { int i,j; start(); for (i = 0; i < 100; i++) { for (j = 0; j < 35; j++) System.out.print("a"); System.out.println("a"); } System.out.println ("From original thread, i: " + i); } public void run () { int i,j; for (i = 0; i < 100; i++) { for (j = 0; j < 35; j++) System.out.print("b"); System.out.println("b"); } System.out.println ("Goodbye from thread"); } }