SENG 365 — Software Engineering
2026-07-24
Reading: Robillard, 3rd ed. — Ch. 7, Inheritance (pp. 157–191). (Code smells and refactoring are supplementary.)
implements vs. extends.Employee alice = new Manager();
Manager, compile-time type Employee.Manager methods on alice without a cast, but overridden methods dispatch to Manager.final class: cannot be extended. super(). Static vs. instance methods.final class can be extended, introducing dependencies.sort in Java Collections: implement Comparable to “fill in the details.”Books to read:

Neil Ernst ©️