LearnFrenzy
Sign in Take a free test

Constructors and the this Keyword · Constructors MCQ · Question 13

Are constructors inherited? Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 13 Back to Exercise

Are constructors inherited by subclasses?

  • A Yes, all of them
  • B No – a subclass declares its own and calls a parent constructor with super(...) Correct
  • C Only public ones
  • D Only the no-arg one
Correct Answer: Option B

Covered in detail in Inheritance.

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