Given:
Which two changes need to be made to make this class compile? (Choose two.)
A. Change Line 1 to an abstract class:
public abstract class API {
B. Change Line 2 access modifier to protected:
protected void checkValue(Object value)
throws IllegalArgumentException;
C. Change Line 1 to a class:
public class API {
D. Change Line 1 to extend java.lang.AutoCloseable:
public interfChange Line 1 to extend java.lang.AutoCloseable:
public interface API extends AutoCloseable {ace API extends AutoCloseable {
E. Change Line 2 to an abstract method:
public abstract void checkValue(Object value)
throws IllegalArgumentException;
AE