What happens if the following program is compiled and executed?
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();
      }
}

Views 👁 1,695


Answer


Warning: Undefined array key "answer" in /home/u981206607/domains/rummanansari.com/public_html/app/views/questions/explanatory.php on line 21