Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Are nested try statements are possible?

Answers were Sorted based on User's Feedback



Are nested try statements are possible?..

Answer / 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

Are nested try statements are possible?..

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

Post New Answer

More Core Java Interview Questions

How do you check if two strings are equal in java?

0 Answers  


Is a boolean variable?

0 Answers  


How to instantiate member inner class?

0 Answers  


What is externalizable?

0 Answers  


Define inheritance with reference to java.

0 Answers  


java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?

1 Answers   Naaptol,


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

0 Answers  


I want to run a simple hello world java (HelloWorld.java) program using a batch file. How can i run it and how to construct a batch file.

1 Answers   Infosys,


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


int a=1; float b=1.0; System.out.println(a==b);

13 Answers   CTS, Honeywell, McAfee,


we have a 100 classes at that time which class we have to write main method? pls help me

6 Answers   Wipro,


What is a java object and java application?

0 Answers  


Categories