Up to now, every class was just a wrapper holding static main helpers. In Module 6 you start designing your own types—combining state and behavior into objects, understanding Java's strict pass-by-value semantics, and using records for immutable data.
More lessons in Complete Core Java