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

Why is singleton class used?

810


What does the “final” keyword mean in front of a variable? A method? A class?

797


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

801


What is super in java?

789


What are extraneous variables examples?

771


What is the difference between preemptive scheduling and time slicing in java programming?

813


How java uses the string and stringbuffer classes?

765


How many types of gc are there in java?

776


Are primitives objects?

805


How many types of assembly languages are there?

741


What two classes are used to read data only?

877


What are the types of java?

826


explain autoboxing in java?

797


Difference between error and exception

5521


Why vector class is used?

746