1.

What is the output of this program?
public class Result 
{
public static void main(String args[])
{
long start, end;
start = System.currentTimeMillis();
for (int k = 0; k < 10000000; k++);
end = System.currentTimeMillis();
System.out.print(end - start);
}
}

A. 0
B. 1
C. 200
D. 30
E. System Dependent
Answer» F.


Discussion

No Comment Found

Related MCQs