The Octagon Class
Our new Octagon class is similar to the previous classes, except that a third constructor is defined: class Octagon extends Polygon { public Octagon() {…} public Octagon(…) {…} public Octagon(…) {…} … }
Previous slide
Next slide
Back to first slide
View graphic version