Unchecked and runtime exceptions in java -


in java, have checked exceptions , unchecked exceptions. also, have runtime exceptions. question - runtime exceptions unchecked exceptions , unchecked exception runime excepions? means can these 2 words used interchangeably?

all runtime exceptions (e.g. nullpointerexception) unchecked exceptions.

since errors (e.g. stackoverflowerror) unchecked exceptions, not unchecked exceptions runtime exceptions.

the java language specifications define unchecked exception: "the unchecked exception classes run-time exception classes , error classes."


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -