The Point Class
One of the constructors of the Point class takes two integer arguments: Point p = new Point( 69, 25 );
Eight such points define an octagon: Point p1 = new Point(…); Point p2 = new Point(…); … Point p8 = new Point(…);
Previous slide
Next slide
Back to first slide
View graphic version