Given: Which fragment, inserted in the Books interface, enables the code to compile?
A.
public abstract String type; public abstract String getType();
B.
public String type = “Fiction”; public abstract String getType();
C.
public static String type; public abstract String getType();
D.
public String type = “Fiction”; public static String getType();
d
B
B
B is correct one !!