Engineering Full Stack Apps with Java and JavaScript
A java source file contains the following code:
interface I { int getI(int a, int b); } interface J{ int getJ(int a, int b, int c); } abstract class MyIJ implements J , I { } class MyI{ int getI(int x, int y){ return x+y; } } interface K extends J{ int getJ(int a, int b, int c, int d); }
Identify the correct statements:
Select 1 option
A. It will fail to compile because of MyIJ
B. It will fail to compile because of MyIJ and K
C. It will fail to compile because of K
D. It will fail to compile because of MyI and K
E. It will fail to compile because of MyIJ, K, and MyI
F. It will compile without any error.