What will be the output of the following program?
class T implements Runnable {
private static int i = 0;
public void run() {
System.out.print(++i + "~");
}
}
public class TClass {
public static void main(String args[]) throws Exception {
Thread thread4 = new Thread(new T());
Thread thread5 = new Thread(null, thread4, "Thread5", 5);
thread4.run();
thread5.run();
}
}