public class JAVA_068 { public static void main(String[] args) { Point start=new Point(0.0,1.0); // Class file included in zip Point end=new Point(5.0,6.0); System.out.println(\"Points created are \" + start + \" and \" + end); Line line1=new Line(start,end); // Class file included in zip Line line2=new Line(0.0,3.0,3.0,0.0); System.out.println(\"Lines created are \" + line1 + \" and \" + line2); System.out.println(\"Intersection is \" + line2.intersects(line1)); end.move(1.0,-5.0); System.out.println(\"Intersection is \" + line1.intersects(line2)); } } [/Code]