Is it true that when you zoom in with a digital camera you lose quality, but use optical zoom and you won't?

I have heard that if a camera has optical zoom and you zoom in with the optical zoom, you will NOT lose quality. True?
2 answers 2