1  abstract class visitor
2  {
3      public abstract void visitPOINT  (point p) ;
4      public abstract void visitLINE   (line l)  ;
5      public abstract void visitCIRCLE (circle c);
6
7  }