ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Can try statements be nested?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can try statements be nested?
Answer
# 1
Yes
 
Is This Answer Correct ?    0 Yes 0 No
Ashokmail.java@gmail.com
[USS]
 
  Re: Can try statements be nested?
Answer
# 2
Hi... yes ,"try" statements can be nested, but each try 
must be having the one "catch" statement.Without "catch" 
and "finally" statements ,"try" statement will be illegal
 
Is This Answer Correct ?    2 Yes 0 No
Devarathnam
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.  1
what is mean by method signature? Satyam5
strings in java are objects.why?  2
what is Vector class?  2
What do you mean by the term transient? Ericsson4
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this  7
whays is mean by inner class? HCL3
Which is not Object in Java? Honeywell7
How to make class immutable  5
What is hypertext?  1
WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?  4
How to create two different thread class inside a main function?  1
what do you meant by Platform-Independent? Persistent4
Can a for statement loop indefinitely?  3
What modifiers can be used with a local inner class?  2
Same common question what is Map,Set,HashMap,List???? Symphony3
what is the life cycle of jsp? Photon2
What are the names of interfaces that doesn't consists of method/s ?  3
what is the use of servlet engine? Photon2
What is a package?  2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com