Are nested try statements are possible?
Answers were Sorted based on User's Feedback
yes,nested try statements are possible,nothing wrong
try {
//some code
try {
//some code
}
catch(Exception e){
}
}
catch(Exception e) {
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
yes try with in try is possible.outer try gets evaluated
first then the inner try
| Is This Answer Correct ? | 2 Yes | 0 No |
Can we create our own daemon thread?
What are class types in java?
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,
what is the difference between preemptive scheduling and time slicing? : Java thread
Which is the best approach for creating thread ?
How to sort the elements in HashMap
What is the full name of java?
Why is java multithreaded?
What is byte data type?
Is arraylist ordered?
Is list thread safe in java?
extending thread class or implementing runnable interface. Which is better? : Java thread