CSE Roadmap

Core tier · about 2 hours · 7 parts

Part 1 of 7 · 1 min read

Why this page comes first in Level 1

In this module you will

  • Say what a class is, what an object is, and how the two relate.
  • Describe an object by its state, its behaviour and its identity.
  • Tell identity (==) from logical equality (equals).
  • Write an equals and hashCode pair that follows the contract.
  • Choose between a class that changes and a value that does not.

Every design in the later levels is a set of classes with objects made from them. This page fixes the words. The sources are "Design Patterns" by Gamma, Helm, Johnson and Vlissides (GoF) for the ideas, and "Effective Java" by Joshua Bloch (EJ) for equality. Code was compiled and run before it was written here. Numbers marked "made up" only show the idea.