Friday, December 16, 2011

How to do polygons in Java?

Kind of sounds like an inheritance problem to me, that is, a Polygon "is a" Shape, and a Shape has a Collection of points. If Polygon extends Shape, then it will have access to all the methods and fields that Shape has.

No comments:

Post a Comment