StringWriter Example

StringWriter Example: It is a character stream on writing-side which is capable to store data written to it. Internally it uses StringBuffer to store the data. The data written to StringWriter object can be used later in the program. Following is the class signature public class StringWriter extends Writer StringWriter Example: Writing and Extracting with …

StringWriter Example Read More »