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
Are variables stored in ram?
What is hashtable and explain features of hashtable?
Why is the type for real numbers called double?
In java, how we can disallow serialization of variables?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
How to check if a list is sorted in java?
Which method cannot be overridden in java?
What is bool mean?
What are the legal parameters?
What is Mutex (Mutual Exclusion Object) ?
Why parsing is done?
What are the properties of thread?
what is use of functional interface in java 8?
What is the functionality of the stub?
Can we override constructor in java?