All about Java String.
Few StringBuffer methods has many uses which is being explained by the following program: 1. capacity()
String buffer’s current capacity is returned. 2. length()
String buffer’s length is returned. 3. charAt(int index)
Specified sequence character which is presented by string buffer are returned. 4. setCharAt(int index, char ch)
At specified index, the character of this string buffer has been set to ch