Full Creative interview question

Ways to handle exception in Java