Upgrade Java SE 7 to Java SE 8 OCP Programmer (1Z0-810)

© examsiri.com
Question : 2 of 8
 
Marks: +1, -0
Given:
public interface MyInt {
public void method1() {
System.out.println("method1");
}
public default void method2() {
System.out.println("method2");
}
public static void method3() {
System.out.println("method3");
}
public abstract void method4();
}

Which statement is true?
Go to Question: