Core Java - Interview Questions and Answers for 'Checked exceptions' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Checked exceptions' - 3 question(s) found - Order By Newest

 Q1. Checked exception needs to be ...

a. Caught
b. Method needs to declare that it throws these exception
c. Either A or B
d. Both A and B
Anonymous
Ans. Either A or B

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   exceptions   checked exceptions


Related Questions

  What things should be kept in mind while creating your own exceptions in Java?
  Explain java.lang.OutOfMemoryError ?
  How compiler handles the exceptions in overriding ?
 What will happen if we don't have termination statement in recursion ?
  Name few Java Exceptions ?
  How can we make sure that a code segment gets executed even in case of uncatched exceptions ?
  Is it necessary that each try block to be followed by catch block ?
  What is exception propogation ?
  Can we have try and catch blocks within finally ?
  Which of the following exception is thrown when we try to access element which is beyond the size ?


Frequently asked at HCL Technologies ( Based on 3 feedback )
  Q2. Difference between Checked and Unchecked exceptions ?Core Java
Anonymous
Ans. Checked exceptions are the exceptions for which compiler throws an errors if they are not checked whereas unchecked exceptions are caught during run time only and hence can't be checked.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   exceptions   checked exceptions   unchecked exceptions   exception handling   basic interview question     Asked in 38 Companies      basic        frequent

Try 1 Question(s) Test


Related Questions

  Checked exception needs to be ...
  Give an Example of checked and unchecked exception ?


 Q3. Give an Example of checked and unchecked exception ?Core Java
Anonymous
Ans. ClassNotFoundException is checked exception whereas NoClassDefFoundError is a unchecked exception.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   exceptions   checked exceptions   unchecked exceptions   exception handling     Asked in 2 Companies


Related Questions

  Difference between Checked and Unchecked exceptions ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: