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 override final method?
how to execute main()
Give me an example of array and linked list? Where they can be used?
Can we use a default constructor of a class even if an explicit constructor is defined?
when should you use stringbuilder class in a program?
What is a buffer in computer?
How does Vector implement synchronization?
What is the diffrence between inner class and nested class?
What is method Overloading in the perspective of OOPS?
what are the differences between java and .net?..why u choose java?
Program to Find the second largest element in an array.
What is lambda programming?