Java StringReader class is a character stream with string as a source. It takes an input string and changes it into character stream. It inherits Reader class.
In StringReader class, system resources like network sockets and files are not used, therefore closing the StringReader is not necessary.
public class StringReader extends Reader
It is used to read a single character.
It is used to mark the present position in a stream.
It is used to tell whether the stream is ready to be read.
It is used to tell whether the stream supports mark() operation.
It is used to pushes back the character by copying it to the pushback buffer.
It is used to reset the stream.
A11 Acharya Niketan
Mayur Vihar 1
Near MayurVihar Metro Station