why there are multiple catches for a try block.don't tell me
that there can be multiple exception of a code segment
that's why.tell me the real fact behind this.

Answer Posted / raj

Handle e\any es\exception at the layer that can handle it
in an efficient manner, else propagate it upwards!

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mnemonic in assembly language?

562


Does string is thread-safe in java?

599


What is increment in java?

532


Should database connections be singleton?

572


Where and how can you use a private constructor?

544






What is Gang of four design patterns

602


What does a za z0 9 mean?

572


How do you clear an arraylist in java?

504


Can memory leak happen java?

600


What is qualitative variable?

530


What is an example of declaration?

535


What are advantages of exception handling in java?

594


Highest level event class of the event-delegation model?

3507


How do you clear a method in java?

546


What are controls and their different types in awt?

610