93.
What will be the output of the following Java program?
import java.lang.System;
class Output
{
     public static void main(String args[])
     {
         long start, end;   
         start = System.currentTimeMillis();
         for (int i = 0; i < 10000000; i++);
         end = System.currentTimeMillis();
         System.out.print(end - start);
     }
}

97.
What will be the output of the following Java program?
class Output 
{
    public static void main(String args[]) 
    {
        double x = 3.14;  
        int y = (int) Math.toDegrees(x);
        System.out.print(y);
    }
}

Read More Section(Interfaces and Abstract Classes)

Each Section contains maximum 100 MCQs question on Interfaces and Abstract Classes. To get more questions visit other sections.