What is difference between exception and error in Java?

What is difference between exception and error in Java?

From the SPCBL Assistant Programmer 2022 – Written exam, question 2 of 11.

More from this paper