多选题 Given:
2. public class Fabric extends Thread {
3. public static void main (String[] args)
4. Thread t=new Thread (new Fabric());
5. Thread t2=new Thread (new Fabric());
6. t.start();
7. t2.start();
8. }
9. public static void run() {
10. for(int i=0; i<2; i++)
11. System.out.print (Thread.currentThread() .getName() +" ");
12. }
13. }
Which are true? (Choose all that apply.)
【正确答案】 A
【答案解析】