Concept

Exceptions

Always use for files, streams, connections. Extend for checked, for unchecked.

Where it fits

  1. Core Java
  2. Exceptions

Packages: Core Java (pkg1core)

Learn

Existing chapters for this concept.

See it in code

Existing Java examples.

  • core 18 Exceptions Demo

    Core Java · pkg1core/core18ExceptionsDemo.java · pkg1core · core18ExceptionsDemo.java

    - Throwable -> Error (don't catch) and Exception. - Checked exceptions (extend Exception) must be declared/handled. - Unchecked (extend RuntimeException) are…

    Open example

Prepare

Existing interview questions.

Java versions