---
title: "Discussion on \"String v/s StringBuffer v/s StringBuilder.\" | Hashnode"
description: "Discussion on \"String v/s StringBuffer v/s StringBuilder.\". A simple comparison of String, StringBuffer, and StringBuilder:\n\n\n\n\n\nFeatureStringStringBufferStringBuilder\n\n\n\nMutabilityImmutable (cannot be changed)Mutable (can be modified)Mutable (can be modified)\n\nThread SafetyNot applicable (immutable)Synchroni..."
url: "https://hashnode.com/posts/string-vs-stringbuffer-vs-stringbuilder/66bc6b895ecbcf805c525594"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [String v/s StringBuffer v/s StringBuilder.](https://anubhav2103.hashnode.dev/string-vs-stringbuffer-vs-stringbuilder?utm_source=hashnode&utm_medium=feed)

A simple comparison of String, StringBuffer, and StringBuilder: FeatureStringStringBufferStringBuilder MutabilityImmutable (cannot be changed)Mutable (can be modified)Mutable (can be modified) Thread SafetyNot applicable (immutable)Synchroni...

Aug 7, 2024 · 2 min read · anubhav2103.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#string-class-in-java](https://hashnode.com/tag/string-class-in-java)
-   [#stringbuffer](https://hashnode.com/tag/stringbuffer)
-   [#stringbuilder](https://hashnode.com/tag/stringbuilder)
-   [#immutable](https://hashnode.com/tag/immutable)
-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#comparison](https://hashnode.com/tag/comparison)

## Written by

[Anubhav Kumar Gupta](https://hashnode.com/@anubhav2103)

@anubhav2103 · Bangalore, India

  
[View profile](https://hashnode.com/@anubhav2103)

🚀 Data Engineer | Python, PySpark & SQL | Problem Solver | Tech Blogger

I'm Anubhav Kumar Gupta, a passionate Data Engineer at Infometry Inc. with expertise in Python, SQL, and Data Engineering. I love solving complex problems, optimizing data pipelines, and integrating back-end technologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
