By: Prof. Kumar Anand Singh
By: Prof. Kumar Anand Singh
Video Game
Process
video networking
interaction
class ThreadEx2 {
public static void main(String [] args ) {
Thread t = new Thread(new MyThread());
// due to implementing the Runnable interface
// It can call start(), and this will call run().
t.start();
} // end main()
} // end class Thread
• Blocked state
• Dead state
21