Answer:
Option D 
Explanation:
A horizontal line has no slope. The equation 'y=1' graphs as a horizontal line. It passes (0,1). So, it touches the y-axis.
A line with an undefined slope does not touch the y-axis. It is vertical. 
Option D should be the correct answer.