Which of the following declares an abstract method in an abstract Java class?

Which of the following declares an abstract method in an abstract Java class?


A. public abstract method();
B. public abstract void method();
C. public void abstract Method();
D. public void method() {}
E. public abstract void method() {}

The correct answer is B


Java

Learn More Multiple Choice Question :