The
public
in the statement:
public
abstract void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
Means that the method
fillArc()
can be referenced (i.e., used) by all other methods, including those that don't belong to the Graphics class.