Is the $y=\frac{1}{x}$ a continuous function?
Yes, it is. This is because $x=0$ is not in its domain.