drawPolygon « Graphics « Java Swing Q&A





1. Why the drawPolygon method in Graphics Class abstract and I can still use it    stackoverflow.com

In Graphics Class, there is an abstract method defined as

public abstract void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)
Why do I still be able to use the method directly ...

2. Graphics- drawPolygon    coderanch.com