12345678910



Question 1: 1. 11. public interface A111 {
2. 12. String s = "yo";
3. 13. public void method1();
4. 14. }
5. 17. interface B { }
6. 20. interface C extends A111, B {
7. 21. public void method1();
8. 22. public void method1(int x);
9. 23. }
What is the result?

1. Compilation fails due to an error only on line 12.
2. Compilation succeeds.
3. Compilation fails due to an error only on line 20.
4. Compilation fails due to an error only on line 21.