Interface

1. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface B { }

2. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface D { } abstract class E { } interface F { }

3. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface G { public abstract void test1(); public abstract void test2(); }

4. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface H { int test1(); void test2(); }

5. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface I { abstract void test1(); public void test2(); public abstract void test3(); abstract public void test4(); }

6. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface J { void test() { } }

7. Program

//Find the O/P ? Compile Time Error or Compile Successfully

interface K { static { } }

Page....