HOME      BLOG       FORUMS      CONTACT       ABOUT

Create a StringWriter object

The default constructor allows us to create a StringWriter with default string buffer size.

import java.io.StringWriter;

/**
 * StringWriter class examples.
 */
public class StringWriterExample {
	public static void main(String[] args){
		// Create a stringWriter object.
		StringWriter writer = new StringWriter();
	}
}

Share

Tags: , , , ,


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply