RuntimeException vs Checked Exception in Java
Java Exceptions are divided into two categories RuntimeException also known
as unchecked
Exception and checked Exception. Main
difference between RuntimeException and checked Exception is that It is
mandatory to provide try-catch or try
finally block to handle checked Exception and failure to do so will result
in a compile-time error, while in the case of RuntimeException this is
not mandatory. The difference between checked and unchecked exception is one of the a most popular question on Java interview
for 2 to years experienced developer especially related to Exception
concepts.