Skip to content

[codex] Clarify the inheritance quiz output#485

Draft
bitflipd wants to merge 1 commit intorage:masterfrom
bitflipd:codex/fix-inheritance-quiz-answer
Draft

[codex] Clarify the inheritance quiz output#485
bitflipd wants to merge 1 commit intorage:masterfrom
bitflipd:codex/fix-inheritance-quiz-answer

Conversation

@bitflipd
Copy link
Copy Markdown

@bitflipd bitflipd commented Apr 18, 2026

Summary

  • add a note in the inheritance chapter clarifying that the Counter / SuperCounter quiz prints 2
  • explain that subtractFromNumber is inherited from Counter while only addToNumber is overridden

Why

The embedded quiz content is served from quizzes.mooc.fi, so this repository cannot directly correct the external answer key. This change adds the correct explanation in the course material next to the affected quiz.

Validation

  • reviewed the inheritance chapter context and confirmed the example output is 2
  • no code or build changes; content-only update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant