Tag Java PushbackInputStream Class

PushbackInputStream in Java

PushbackInputStream in Java is an input stream that pushes (i.e. returns) a single byte or character back into the input stream to reread. In other words, PushbackInputStream is a buffer stream that adds “push back” functionality to an input stream…