LearnFrenzy
Sign in Take a free test

Abstract Classes and Interfaces · Abstract Class MCQ · Question 6

When does a derived class stay abstract? Answer, explanation & discussion

  • MCQ
  • Easy
  • 0 comments
  • Answer explained
  • Moderated community
Question 6 Back to Exercise

Base has pure virtual f() and g(). Derived overrides only f(). What is Derived?

  • A Concrete
  • B Still abstract – g() is inherited as pure virtual Correct
  • C A compile error at its definition
  • D An interface
Correct Answer: Option B

The error appears only when you try to create a Derived object.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links