Single Choice Not Set

Q In Java, declaring a class abstract is useful

ID: #2279 Java Interfaces And Abstract Classes MCQ 9,464 views
Question Info
#2279Q ID
Not SetDifficulty
Java Interfaces And Abstract Classes MCQTopic

Choose the Best Option

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

  • A To prevent developers from further extending the class.
  • B When it doesn't make sense to have objects of that class.
  • C When default implementations of some methods are not desirable.
  • D To force developers to extend the class not to use its capabilities.
Correct Answer

Explanation

When it doesn't make sense to have objects of that class.

Share This Question

Challenge a friend or share with your study group.