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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
What is an exception?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is an exception?
Answer
# 1
Exception is a runtime error. It is a abnormal condition 
that arises at runtime in a code sequence
 
Is This Answer Correct ?    0 Yes 0 No
Swapna
 
  Re: What is an exception?
Answer
# 2
exception is the abnormal condition which will occur at run time
 
Is This Answer Correct ?    0 Yes 0 No
Ravikiran(aptech Mumbai)
 
 
 
  Re: What is an exception?
Answer
# 3
when we write code and try to execute the that code error 
may be occur in runtime or complie time complie time error 
nothing but syntex error we can easily set right by 
reediting suitable code runtime error is exception. we can 
handle the exception use Exception class which is belongs 
to java.lang. package using this class handle the exception
(try catch) block
 
Is This Answer Correct ?    0 Yes 0 No
Vikneswarank
[Jadian]
 
  Re: What is an exception?
Answer
# 4
Exception is a class available in java.lang package and has 
many subclasses.
 
Is This Answer Correct ?    0 Yes 0 No
Vikas
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Is there any need to import java.lang package? Sun-Microsystems9
Name the method of a Container that can be used to cause a container to be laid out and redisplayed?  1
whats is the use of final,in which situation final can be used in the application? DNS2
what models are available for event handling?  1
what is an anonymous class? TCS5
What is interface and its use? HCL6
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.  1
What is lazy activation? CMC1
Program to output as below formate: 1 2 3 4 5 6 7 8 9 10 Huawei2
Difference between prefix and postfix forms of the ++operator?  2
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.  3
please tell me what is wrapper class in java with example ?  3
Difference between this(), super()?  8
what is a static block?  4
Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.  1
what is webservices Mind-Tree4
what is session facade ?  2
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ? Saksoft1
Name the method that is used to set a TextComponent to the read-only state?  1
How will you create the class for the following scenario? Employees under one employee? Bally-Technologies2
 
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