class ThreadGame { public static void main(String[] args) { (new Process(1)).start() ; (new Process(1)).start() ; } } class Process extends Thread { static int c; public Process(int i) { c = i ; } public void run() { while (true) { c = c + c ; } } }