1 | The next example involves octagons |
2 | Since an octagon has eight vertices, one of the constructors of the Octagon class requires sixteen integers |
3 | To make it easier to work with octagons, we introduce another class: the Point class |
4 | Like Polygon, the Point class is a core class in package java.awt |