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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
When finally clause is executed?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: When finally clause is executed?
Answer
# 1
A finally clause will execute always wheather the try block
throw any exception or not.
 
Is This Answer Correct ?    1 Yes 0 No
Debapriya Patra
 
  Re: When finally clause is executed?
Answer
# 2
Finally clause is used to handle an exception that is not 
caught by any of the previous catch statements.Finally 
block can be used to handle any exception generated within 
a try block.It may be added immediately after the try block 
or after the last catch block.When a finally block is 
defined,this is guranteed to execute,regardless of whether 
or not an exception is thrown.used in house-keeping 
operations like closing files and releasing system 
resources.
 
Is This Answer Correct ?    3 Yes 0 No
Dinesh
 
 
 
  Re: When finally clause is executed?
Answer
# 3
This is a block which provide gurantee about the particular 
code execution, whether there is exception or not.
 
Is This Answer Correct ?    2 Yes 0 No
Sushant
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is static variable and static method? TCS9
what is difference between requestprocessor and request dispatcher? Tech-Mahindra1
When try and catch block is used ?  6
What is the difference between Checked and Unchecked exception? Give some examples Ness-Technologies2
can u give one sinario when you use Abstract Class and When you use Interface. ITC-Infotech5
How will you convert an ArrayList to Arrays? KPIT3
what is the difference between a java object reference and c++ pointer?  3
What are the types of statement? explain SysBiz1
What is the difference between set and list?  3
Which are thin and thicK wrapper Class's in Java?  1
int a=1; float b=1.0; System.out.println(a==b); Honeywell8
What is difference between static method and static variable?  6
What is 3-tier model? Wipro3
how u do unit testing? iFlex2
What is Vector?Can you elaborate how Vector is Thread safe?  3
What is hypertext?  1
What is CardLayout? Infosys1
How can a class be accessed, If no access modifiers are declared?  2
What is left shift and right shift?  1
JSP is by default thread safe or not? what is the meaning of isThreadSafe="true" and isThreadSafe="false". Explain it? Thanks, Seenu Huawei3
 
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