1.

What will be the output?class One extends Thread{ public void run(){for(int i=0; i<2; i++){System.out.print(i);} }}public class Test{ public static void main(String args[]){Test t = new Test();t.call(new One()); }public void call(One o){o.start(); }}

A. 0
B. ompilation Error
C. 1
D. one of these
Answer» D. one of these


Discussion

No Comment Found