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