import figures.Line; import figures.Point; public class Main { public static void main(String[] args) { Point p1 = new Point(10, 100); Point p2 = new Point(20, 200); Line l1 = new Line(p1, p2); } }