Java Programming Language MCQ Java Interfaces And Abstract Classes MCQ
⚠ Report ✓ Question Verified Copy Link
interface MyInterface{ void display(); } interface MySubInterface extends MyInterface{ void display(); } public class Test implements MySubInterface{ public void display(){ System.out.print("Welcome to Examveda."); } public static void main(String args[]){ Test t = new Test(); t.display(); } }
Learn More MCQ Questions from Java Programming Language MCQ Java Interfaces And Abstract Classes MCQ