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 a instance for intwerface?
What is += mean in java?
What does super keyword do?
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,
Why are functions called methods in java?
What is an interoperable application in java ?
What is indexof?
what are the different non-access specifiers in java?
can u give one sinario when you use Abstract Class and When you use Interface.
What is the range of the short datatype?
Why const and goto are reserved keyword in java?
what is the use of clone method? why user cant overwrite in sub class without its proper defination.