Which is a valid abstract class?
A.
public abstract class Car {
protected abstract void accelerate();
}
B.
public abstract class Car {
protected void accelerate();
}
C.
public abstract class Car {
protected abstract void accelerate() {
// more code here
}
D.
public interface Car {
protected abstract void accelerate();
}
E.
public abstract class Car {
protected final void accelerate();
}