Question: what is the difference between error and exception in java with example?
Answer: 4 Answers. An Error "indicates serious problems that a reasonable application should not try to catch." An Exception "indicates conditions that a reasonable application might want to catch." Error along with RuntimeException & their subclasses are unchecked exceptions.