Click here - / @interviewdot to get notifications. Explain Java Exception ?
Exception are such anomalous conditions which changes the normal flow of execution of a program. Exceptions are used for signaling erroneous (exceptional) conditions which occur during the run time processing.
Two types of exception : CHECKED & UNCHECKED
Checked Exceptions
These are the exceptions which occur during the compile time of the program.
The compiler checks at the compile time that whether the program contains handlers for checked exceptions or not.
These exceptions do not extend RuntimeException class and must be handled to avoid a compile-time error by the programmer.
These exceptions extend thejava.lang.Exception class These exceptional conditions should be anticipated and recovered by an application.
UnChecked Exceptions
These are the exceptions which occur during the runtime of the program.
The compiler does not checks at the compile time that whether the program contains handlers for unchecked exceptions or not.
These exceptions extend RuntimeException class and do not need to be handled by the programmer.
I will be answering questions like ???
Can I catch runtime exception ?
Can I catch error ?
Why should you throw an exception early ?
Explain exception hierarchy ?
When should I use checked and unchecked exception ?
Explain catch block,finally block ? Its purpose ?
Auf dieser Seite können Sie das Online-Video java exception interview mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Interview DOT 02 August 2012 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,321 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!