Tag: Java string constructor

String Constructors Java

August 20, 2013 · 2 min read
###### In Java, a String object can be created a number of ways. The most frequently used styles are shown here using 9 types of String constructors (including [StringBuffer](http://way2java.com/string-and-stringbuffer/stringbuffer-length-and-capacity/) and [StringBuilder](http://way2java.com/string-and-stringbuffer/string-stringbuffer-stringbuilder/)) defined [java.lang.String](http://way2java.com/string-and-stringbuffer/one-stop-destination-for-all-string-and-stringbuffer/) API.