Are nested try statements are possible?

Answer Posted / venkat.kanneganti

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are drawbacks of singleton class?

684


Why does java have different data types for integers and floating-point values?

722


What is set in java?

694


Describe what happens when an object is created in java ?

736


Which class should you use to obtain design information about an object in java programming?

831






How do constructors use this() and super()?

750


Is nullpointerexception checked or unchecked?

738


What is struts in java?

785


What is the meaning of I ++ in java?

806


Where are global variables stored?

669


How to invoke external process in java.

746


Can we have try without catch block?

821


What is unicode with example?

775


Can a lock be acquired on a class in java programming?

693


What is the string function?

703