Write a class called line that represents a line segment between two points. your line objects should have the following methods: public line(point p1, point p2) constructs a new line that contains the given two points. public point getp1() returns this line's first endpoint. public point getp2() returns this line's second endpoint. public string tostring() returns a string representation of this line, such as "[(22, 3), (4, 7)]".
in software engineering and computer science, abstraction is: the process of removing physical, the way that different data types interact, is the beginning of abstraction.
i'm pretty sure its either a or d