UNB/ CS/ David Bremner/ teaching/ java/ Intsect1.java
import ccj.*;

public class Intsect1 extends GraphicsApplet
{  public void run()
   {  double radius = readDouble("Radius: ");
      Circle c = new Circle(new Point(0, 0), radius);
      double b = readDouble("Line position: ");
      Line s = new Line(new Point(-10, b),
         new Point(10, b));
      c.draw();
      s.draw();
   }
}