Exception handling: - An exception is a runtime error.
An error is software is called a bug. Removing errors from software is called debugging.
1) Compile time errors: - These are errors in the syntax or the grammar of the language. These errors are detected by the compiler at run time of compilation. (Java compiler can display up to 100 errors). Desk checking is the solution of compile time errors.
2) Run time errors: - These errors are the errors which occur because in sufficiently of compiler system. These errors are detected by JVM at the time of running the program. Run time errors are serious errors. Only the programmers are responsible for it.
3) Logical errors: - These errors represent bad logic (or) these errors are not detected by the compiler or JVM. Logical errors are detected by comparing the program out put with manually calculated result.
What is checked exception?
A) The exception will occur during compilation & are executed by the java compiler are called checked exception. The exception which are detected at runtime by the JVM are called unchecked exceptions or run time errors.
Exception: - Any abnormal event in the program is called an exception. All exception are represented by classes in java
In questa pagina del sito puoi guardare il video online Exception Handling in Java Theory della durata di ore minuti seconda in buona qualità , che l'utente ha caricato java tutorial for beginners 02 gennaio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 33 volte e gli è piaciuto 1 spettatori. Buona visione!