# Hierarchy For All Packages

Package Hierarchies:

- java.io,
- java.lang,
- java.lang.ref,
- java.lang.reflect,
- java.net,
- java.nio.charset

## Class Hierarchy

- java.lang.Object
  - java.lang.reflect.Array
  - java.nio.charset.Charset (implements java.lang.Comparable<T>)
  - java.lang.Class<T> (implements java.lang.reflect.Type)
  - java.lang.reflect.Constructor
  - java.io.InputStream (implements java.lang.AutoCloseable)
    - java.io.ByteArrayInputStream
    - java.io.DataInputStream (implements java.io.DataInput)
  - java.lang.reflect.Method
  - java.io.OutputStream (implements java.lang.AutoCloseable)
    - java.io.ByteArrayOutputStream
    - java.io.DataOutputStream (implements java.io.DataOutput)
    - java.io.PrintStream
  - java.io.Reader (implements java.lang.AutoCloseable)
    - java.io.InputStreamReader
    - java.io.StringReader
  - java.lang.Record
  - java.lang.ref.Reference
    - java.lang.ref.WeakReference
  - java.nio.charset.StandardCharsets
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Error
      - java.lang.LinkageError
    - java.lang.Exception
      - java.lang.IllegalAccessException
      - java.io.IOException
        - java.io.EOFException
        - java.io.FileNotFoundException
        - java.io.InterruptedIOException
        - java.io.UnsupportedEncodingException
        - java.io.UTFDataFormatException
      - java.lang.RuntimeException
        - java.lang.IndexOutOfBoundsException
          - java.lang.StringIndexOutOfBoundsException
      - java.net.URISyntaxException
  - java.net.URI
  - java.io.Writer (implements java.lang.AutoCloseable)
    - java.io.OutputStreamWriter
    - java.io.StringWriter (implements java.lang.Appendable)

## Interface Hierarchy

- java.lang.AutoCloseable
  - java.io.DataInput
  - java.io.DataOutput
- java.io.Flushable
- java.io.Serializable