public class MultiThreadedCount { public static void main( String[] args ) { // Create the tasks Count c1 = new Count( 10 ); Count c2 = new Count( 13 ); // Create the threads Thread t1 = new Thread( c1 ); Thread t2 = new Thread( c2 ); t2.setPriority( Thread.MAX_PRIORITY ); // Start the threads t1.run(); // WHOOPS -- USE start() instead! t2.run(); } }