golb

Java

try catch with AutoCloseable

try(
// AutoCloseable here
) {

} catch(Expression e) {

}

Examples of stream

Input Output
FileInputStream FileOutputStream
BiteArrayInputStream BiteArrayOutputStream
BufferedInputStream BufferedOutputStream
DataInputStream DataOutputStream
ObjectInputStream ObjectOutputStream
PipedInputStream PipedOutputStream
GzipInputStream GzipOutputStream
SequenceInputStream SequenceOutputStream
AudioInputStream AudioOutputStream

Useful class

Use buffer with a file : FileReader->BufferedReader->Scanner

Protected, public private