Pessoal,
se tivermos algo como:
...
FileInputStream file = new FileInputStream("arquivo.dat");
BufferedInputStream bis = new BufferedInputStream(file);
DataInputStream dis = new DataInputStream(bis);
...
dis.close();
Se eu fechar o último stream da cadeia, automáticamente, vou estar fechando os outros streams? Ou seja, dis.close() fecha o stream dis, bis e file, do exemplo.
