Single Choice Not Set

QWhich two of the following are legal declarations for abstract classes and interfaces?

1. final abstract class Test {}
2. public static interface Test {}
3. final public class Test {}
4. protected abstract class Test {}
5. protected interface Test {}
6. abstract public class Test {}

ID: #2284 Java Interfaces And Abstract Classes MCQ 3,445 views
Question Info
#2284Q ID
Not SetDifficulty
Java Interfaces And Abstract Classes MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1 and 2
  • B 2 and 4
  • C 3 and 5
  • D 3 and 6
Correct Answer

Explanation

3 and 6

Share This Question

Challenge a friend or share with your study group.