83.
Which of the following is the correct way of implementing an interface salary by class manager?

86.
What will be the output of the following Java program?
import java.lang.System;
class Output 
{
    public static void main(String args[])
    {
        byte a[] = { 65, 66, 67, 68, 69, 70 };
        byte b[] = { 71, 72, 73, 74, 75, 76 };  
        System.arraycopy(a, 0, b, 3, a.length - 3);
        System.out.print(new String(a) + " " + new String(b));
    }
}

87.
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.toRadians(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.