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
Explain a few methods of overloading best practices in java?
What is difference between protected and private?
What is object class in java?
Can a string be null?
Is array primitive data type in java?
Explain the differences between static and dynamic variables?
How do you reverse a word in java?
What are the different access modifiers available in java?
What is the difference between a synchronized method and a synchronized block?
What is the difference between state-based unit testing and interaction-based unit testing?
Where are global variables stored?
Can a class have 2 constructors?
What is t in parametric equations?
What is locale in java?
What are the java ide's? Explain