Question: a line has two endpoints?
Answer: A line segment is a part of a line that has two defined endpoints. A line segment represents a collection of points inside the endpoints and it is named by its endpoints. ... A ray is named by its endpoint and by another point on the line.