I need to Implement the classes Point and Line The toString method of Point Should print a point in the form (x,y) The toString method of Line Should print a point in the form (x1,y1)->(x2,y2)
Then I need to create a Class called LineApp in the main do the following: Create a Line with the points (0,0) and (4,3) Then calculate and display the length of the line.
I have been looking at this and have no clue what to do