Frankly.me interview question

1. Explain the types of exception in java.