Deloitte interview question

Java concepts and oops concepts, exception