0% found this document useful (0 votes)
9 views1 page

Java StringBuilder Overview

StringBuilder is a mutable class in the java.lang package introduced in JDK 1.5. It allows modification of string content but is not thread-safe, meaning it can be accessed by multiple threads simultaneously. An example usage includes creating a StringBuilder object, checking its length, and appending additional content.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Java StringBuilder Overview

StringBuilder is a mutable class in the java.lang package introduced in JDK 1.5. It allows modification of string content but is not thread-safe, meaning it can be accessed by multiple threads simultaneously. An example usage includes creating a StringBuilder object, checking its length, and appending additional content.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

==================

StringBuilder
==================

StringBuilder is a predefined class available in [Link] package.

This class was introduced in JDK 1.5v.

StringBuilder objects are mutable (content can be modified).

StringBuilder objects are not thread-safe (multiple threads can access at a time).

StringBuilder sb = new StringBuilder("java");


[Link]();
[Link]("program");

You might also like