This part builds objects: a class with fields, a constructor and
new, instance methods that read them through
this, constructors that overload and copy,
static fields and methods with the counter they
share. Encapsulation follows, with a setter that rejects a value and the
exception it throws, then references against objects and
== against equals, the
contract of equals and
hashCode, toString and
the methods every class inherits. The part closes with immutable
objects and their defensive copies, nested, inner and anonymous
classes, enums and composition, a small model in one file, and a bank
account capstone whose statement is checked by hand.