Skip to content

Circle and Point constructors

The Geometry practica start with numeric centerX and centerY on Circle (chapters 1–2) and later store a Point as the centre (chapter 3). The teaching note compares those designs: constructor parameters versus stored attributes, and UML association versus composition.

Open the teaching note

It belongs with: