Can we use catch statement for checked exceptions?



Can we use catch statement for checked exceptions?..

Answer / Dharmendra Meena

No, we cannot directly use a catch block to handle checked exceptions in Java. Checked exceptions must be either handled within the method that throws them or propagated to the calling method by declaring them as thrown exceptions in the method signature.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is default exception handling in java?

1 Answers  


What is a class in java?

1 Answers  


Can we declare register variable as global?

1 Answers  


while creating thread why we extend thread class

2 Answers  


What is a java lambda expression?

1 Answers  


Can we call the constructor of a class more than once for an object?

1 Answers  


Difference between overriding and overloading in java?

1 Answers  


What is the static variable?

1 Answers  


How u dubugg ur project?

1 Answers   iFlex,


How infinite loop is declared?

1 Answers  


Name the package that most of the AWT events that supports event-delegation model are defined?

2 Answers  


Define iterator and methods in iterator?

1 Answers  


Categories