How many dimensions does a line have?

A line is a one-dimensional object, as it only has length and no other dimensions.