MCQ Single Best Answer Not Set

QWhich of the following class definitions defines a legal abstract class?

ID: #2271 Java Interfaces And Abstract Classes MCQ 5,535 views
Question Info
#2271Q ID
Not SetDifficulty
Java Interfaces And Abstract Classes MCQTopic

Choose the Best Option

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

  • A class A { abstract void unfinished() { } }
  • B class A { abstract void unfinished(); }
  • C abstract class A { abstract void unfinished(); }
  • D public class abstract A { abstract void unfinished(); }
Correct Answer: Option C

Explanation

abstract class A {
 abstract void unfinished();
 }
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.