# If the slope of a straight line is 0 and the y-intercept is –2, what is the equation of the line?

$y = - 2$
$y = - 2$ , which is also the equation of such line.