多选题 Given:
2. public class Skip {
3. public static void main(String[] args) throws Exception {
4. Thread t1 = new Thread(new Jump());
5. Thread t2 = new Thread(new Jump());
6. t1.start(); t2.start();
7. t1.join(500);
8. new Jump() .run();
9. } }
10. class Jump implements Runnable {
11. public void run() {
12. for(int i = 0; i < 5; i++) {
13. try {Thread.sleep(200); }
14. catch (Exception e) {System.out.print("e "); }
15. System.out.print(Thread.currentThread() .getId() + "-" + i+ " ");
16. } } }
What is the result?
【正确答案】 F
【答案解析】