What will be the output for the below code ?
public interface TestInf{
      int i =10;
}

public class Test{
      public static void main(String... args){
            TestInf.i=12;
	    System.out.println(TestInf.i);
      }
}

Views 👁 1,378


Answer


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