A java source file contains the following code:
interface I { //from ww w . ja v a2s . c om int getI (int a, int b); } interface J{ int getJ (int a, int b, int c); } abstract class MyInterface implements J , I { } class MyClass{ 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
Correct Option is : F
MyInterface declares that it implements interfaces I and J, but does not implement the methods declared in these interfaces.
Since MyInterface has been declared as abstract, it is valid.