Explain what the difference between latent and masked defects is?

Explain what the difference between latent and masked defects is?

The “latent” is an existing error that haven’t created a failure yet as the actual set of conditions never met whereas the “masked” is an existing error that haven’t created a failure as another error has prevented from being performing that piece of code.