what is unreachable code problem in multiple catch statements
Answer Posted / sriragv
Subclass exception handler should come first then the
superclass has to come next. Then only code wil compile
otherwise subclass exception will be never reached results
compilation error.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to make a write-only class in java?
How do you create a bulleted list?
How do you execute a thread in java?
What is a ?
How to change the priority of thread or how to set the priority of thread?
What are streams in java 8?
Define interface in java?
What is balanced tree in java?
What is final?
Can we restart a dead thread in java?
What is a stringbuffer?
What are java methods?
What data type is true or false?
Can a static class have a constructor java?
What java ide should I use?