Java Learner logo

Module 7: Advanced Object-Oriented Concepts

Lesson focus

Deep Dive: The super Keyword

Use `super` for constructor chaining and to extend, not replace, inherited behavior.

super() must be the first statement in a constructor when explicitly calling a parent constructor.

Invoke super.method() inside overrides to reuse setup logic before layering new responsibilities.

Understand the difference between super calls (compile-time binding) and polymorphic calls (runtime binding).

Lesson quiz

Where must a call to `super()` appear in a constructor?

Next lesson →