Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

working of BufferedInputStream in java

abhin270abhin270 karnatakaMember Posts: 2
edited September 2016 in Java

File f=new File("abc.txt");

FileInputStream f1=new FileInputStream(f);

BufferedInputStream b=new BufferedInputStream(f1);

can you please tell me that -Is FileInputStream is bringing multiple bytes from file into the internal buffer?

I also want to know that wether BufferedInputStream is reading one byte at a time from an Internal Buffer or Multiple bytes?

Thanks in advance.

Tagged:
Sign In or Register to comment.