what is difference between using BufferedInputStream and File InputStream for java input? when is it prefered to use the Buffered? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

what is difference between using BufferedInputStream and File InputStream for java input? when is it prefered to use the Buffered?

15th Dec 2016, 1:07 PM
Nermeen Ahmed
Nermeen Ahmed - avatar
2 Respostas
+ 2
- BufferedInputStreamĀ is buffered, butĀ FileInputStreamĀ is not. - AĀ BufferedInputStreamĀ reads from anotherĀ InputStream, but aĀ FileInputStreamĀ reads from a file.
16th Dec 2016, 3:43 AM
Mario Aliaga
Mario Aliaga - avatar
+ 1
how i can determine which type of input or output to use? there are a lot of classes!! i need an useful article about the summary.
17th Dec 2016, 7:20 AM
Nermeen Ahmed
Nermeen Ahmed - avatar