Q.

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 method(){ };.
D. private abstract void method(){ };.
Answer» B. public abstract void method();.
830
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet