Java Learner logo
← Back to subjects

Intermediate

Module 7: Advanced Object-Oriented Concepts

Go beyond the basics of classes by mastering deep inheritance hierarchies, advanced polymorphism, and interface-driven design.

11 lessonsGuided quizzesProjects & habits

Lesson list

Module 7: Advanced Object-Oriented Concepts

0/11 complete0%
Resume module
01Duration · 25 minLocked

Designing Robust Inheritance Hierarchies

Learn to evaluate when inheritance is the right tool, organize shared behavior, and protect hierarchies from brittle coupling.

Start lesson →
02Duration · 20 minLocked

Method Overriding Rules & Contracts

Revisit overriding with an emphasis on covariant return types, visibility constraints, and exception compatibility.

Start lesson →
03Duration · 15 minLocked

Deep Dive: The super Keyword

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

Start lesson →
04Duration · 22 minLocked

Abstract Classes vs Interfaces

Choose the right construct to model shared behavior, default implementations, and optional capabilities.

Start lesson →
05Duration · 18 minLocked

Multiple Inheritance Through Interfaces

Resolve conflicting defaults, compose behaviors, and document intent when a class implements several interfaces.

Start lesson →
06Duration · 14 minLocked

Default & Static Interface Methods

Add behavior to existing interfaces without breaking clients by leveraging default and static utilities.

Start lesson →
07Duration · 12 minLocked

Marker Interfaces & Metadata Alternatives

Understand historical marker interfaces and modern annotation-based replacements.

Start lesson →
08Duration · 20 minLocked

Advanced Polymorphism Patterns

Apply polymorphism to strategy, state, and visitor patterns for flexible runtime behavior.

Start lesson →
09Duration · 16 minLocked

Casting, instanceof, and Pattern Matching

Use safe casting techniques, pattern matching, and `sealed` classes to enforce invariants.

Start lesson →
10Duration · 15 minLocked

Composition vs Inheritance

Decide when delegation beats inheritance and how to migrate brittle hierarchies toward composition.

Start lesson →
11Duration · 30 minLocked

Mini-Project: Shape Hierarchy

Build an extensible shape system that calculates area/perimeter and renders SVG output.

Start lesson →