SENG 365 — Software Engineering
2026-07-24
Reading: Robillard, 3rd ed. — Ch. 4, Object State (pp. 67–95).
Capture the state of a system simple enough to manage cruise control. Try modelling a course at UVic.
Optional.debugger and physical locations
== if the references point to the same id.== — different addresses.equals() and hashCode().Object.equals() compares ids (==) — often not what our design needs.hashCode() combines Rank + Suit.
Neil Ernst ©️