Nieuws

Classes related to input and output are present in the Java TM language package java.io . Java technology uses "streams" as a general mechanism of handling data. Input streams act as a source of data.
Java 16 introduced basic pattern matching with the finalized instanceof method. For more advanced features, like pattern matching in switch, record patterns, and guarded cases, you need Java 21+.