Engineering Full Stack Apps with Java and JavaScript
What, if anything, is wrong with the following code?
interface T1{ } interface T2{ int VALUE = 10; void m1(); } interface T3 extends T1, T2{ public void m1(); public void m1(int x); }
Select 1 option
A. T3 cannot implement both T1 and T2 because it leads to ambiguity.
B. There is nothing wrong with the code.
C. The code will work fine only if VALUE is removed from T2 interface.
D. The code will work fine only if m1() is removed from either T2 and T3.
E. None of the above.