what is unreachable code problem in multiple catch statements

Answer Posted / bijoy baby

super class can handle sub class Exception. That's why when
super class handler placed before sub class handler then the
exception object will not thrown to sub class handler.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a void in java?

797


what is thread in Java ?

908


Can java list contain duplicates?

796


What is the difference between interface & abstract class?

804


What is type safety in java?

730


What is the locale class in java programming?

760


What is default constructors?

739


What is the final class?

751


Explain hashset and its features?

840


List down the methods and interfaces of collection class in java.

764


What's the difference between an abstract class and interface in java?

794


What is a data structure java?

764


What is variable length arguments in java?

733


What are default methods ?

790


Explain the scope of a variable.

849