Java Program Based On Exception Handling Interview Question