---
title: "What is the basic difference between string and stringbuffer object?"  
description: "What is the basic difference between string and stringbuffer object?"  
author: "Anonymous User"  
published: 2015-04-25  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/2438/what-is-the-basic-difference-between-string-and-stringbuffer-object  
category: "java"  
tags: ["java", "string"]  
reading_time: 1 minute  

---

# What is the basic difference between string and stringbuffer object?

String is an immutable object. StringBuffer is a mutable object.

## Answers

### Answer by Anonymous User

String is an immutable object. StringBuffer is a mutable object.


---

Original Source: https://www.mindstick.com/interview/2438/what-is-the-basic-difference-between-string-and-stringbuffer-object

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
