Java Design Pattern
Introduction to Java 10
Introduction to Java 11
Introduction to Java 12

JAVA StringBuilder Class

The StringBuilder class is used to create mutable (modifiable) string. The StringBuilder class is same as StringBuffer class except that it is non-synchronized. It is available since JDK1.5.

Commonly used Constructors of StringBuilder class:

  • • StringBuilder(): creates an empty string Builder with the initial capacity of 16.
  • • StringBuilder(String str): creates a string Builder with the specified string.
  • • StringBuilder(int length): creates an empty string Builder with the specified capacity as length.

About the Author

Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.

We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc