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!