Java

How to Use CharArrayReader In Java1 min read

Java Code:

The java.io.CharArrayReader.read() method reads a single character. If the stream ends, it returns -1.




CharArrayReader is an implementation of an input stream that uses a character array as the source. This class has two constructors, each of which requires a character array to provide the data source.

Leave a Comment