Skip to main content

2 docs tagged with "final"

View all tags

Chapter 5 — Methods

Master Java method design: access modifiers, static vs instance members, static imports, varargs, method overloading resolution order, pass-by-value semantics, and final variable boundaries.

Chapter 6 — Class Design

Deep dive into Java inheritance, abstract classes, polymorphism, method overriding rules, final keyword, immutable class design, and Object methods — with focus on the subtle OCP exam traps around field hiding and initialization order.