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
Auf dieser Seite können Sie das Online-Video Exception Handling in Java Theory mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer java tutorial for beginners 02 Januar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 33 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!