001package factory.shape1; 002import java.awt.Graphics; 003public class Circle implements Shape { 004 public void paint(Graphics g) { /* ... */ } 005 // ... 006}