Which types of exceptions are caught at compile time?



Which types of exceptions are caught at compile time?..

Answer / Hemant Khitaulia

Checked exceptions in Java are caught at compile-time. These are exceptions that extend the Exception or RuntimeException classes, but not its subclass RuntimeException.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

2 Answers   Yamaha,


What does a void function return?

1 Answers  


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

1 Answers  


Define canvas?

1 Answers  


Explain about interrupt() method of thread class ?

1 Answers  


Why do you canvas?

1 Answers  


In how many ways we can do exception handling in java?

1 Answers  


Define max and min heap, also the search time of heap.

1 Answers   GrapeCity,


Is it possible to override the main method?

1 Answers  


Explain the available thread states in a high-level?

1 Answers  


what is default layout of JFrame class?

6 Answers  


How to check if linked list contains loop in java?

1 Answers  


Categories