A simple java codes to create a table for making a straight line equation, y = mx + c from two sets of coordinates (x,y). Three classes – equation, point, line.