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 |
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
Explain Event handling in AWT?
What is double in java?
What is java argument list?
What does a boolean method return?
Difference difference paint() and paintcomponent()?
What is the full name of java?
What are user defined exceptions?
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
Is class forname reflection?
Why packages are used?
What is array length in java?