According to "Sams Teach Yourself Java in 21 Days" book
"Unchecked exceptions, also called runtime exceptions..."
Under that fact,Error are also runtime exception as they are unchecked exceptions( or is it not what it says?)
This confuses me with the below statement.
Run Time Exceptions are internal errors in the Java run time environment.
If it talks about java RuntimeExceptions then,it's false because they are Exceptions which are described as "Exception describes errors caused by your program and external circumstances. These errors can be caught and handled by your program. "
But on the other hand,if it refers to java Errors then they are internal errors.
So is that statement is exactly true or false?
Erroris not anExceptionat all. AnErrorextends directly fromThrowableand is unchecked. And references to errors shouldn't be confused with the java typeError.