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 |
how can you say that java is independ language
Difference between Preemptive scheduling vs. Time slicing?
What is methodological framework?
how to use finalize()Method to resources
What are Interceptors?
How do you generate random numbers in java?
What is collection sort in java?
Which class should you use to obtain design information about an object in java programming?
What is a void method java?
What is the purpose of methodology?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What is an infinite loop in java? Explain with an example.