StringBuilder
- 22nd Dec 2017
- 0
- 9236
- importance of stringbuilder class String builder in java with example stringbuilder append() in java stringbuilder in java StringBuilder length() method in java StringBuilder replace() method in java StringBuilder reverse() method in java
StringBuilder is very similar to StringBuffer except for one important difference which is not synchronized. It means StringBuilder is not thread safe as methods inside StringBuilder class are not synchronised. StringBuilder is also mutable like StringBuffer. Mutable string means we can modify the string as many times as we want without creating a new string […]