class A extends
Thread {
public void run() {
try {sleep(10000);} catch (InterruptedException ie){}
}
public static void main(
String[] args) {
A a1 = new A();
long startTime = System.currentTimeMillis();
a1.start();
System.out.print(System.currentTimeMillis() - startTime);
}}
What are the possible results of attempting to compile and run the program?
a. Prints a number greater than or equal to 0
b. The number printed must always be greater than 10000
c. This program will run for at least ten seconds
d. Compile-time error
e. Run-time error
can nayone explain me the answeres of above code(Ans are A,C)?