Java Interfaces And Abstract Classes MCQ - Quiz

  • Aclass A { abstract void unfinished() { } }
  • Bclass A { abstract void unfinished(); }
  • Cabstract class A { abstract void unfinished(); }
  • Dpublic class abstract A { abstract void unfinished(); }
  • Apublic abstract method();
  • Bpublic abstract void method();
  • Cpublic void method() {}
  • Dpublic void abstract Method();
  • A
    interface A { void print() { } }    
  • B
     abstract interface A { print(); } 
  • C
    abstract interface A { abstract void print(); { }}  
  • D
     interface A { void print(); } 
  • Aclass
  • B abstract class
  • Cinterface
  • D vaiable