---
title: "Discussion on \"Java Interview Questions\" | Hashnode"
description: "Discussion on \"Java Interview Questions\". String:\n\nWhat is the difference between String, StringBuilder, and StringBuffer in Java?\n\nExplain how String is immutable in Java. What are the benefits of immutability?\n\nHow does the intern() method work with String objects?\n\nWhat will be the output..."
url: "https://hashnode.com/posts/java-interview-questions/67108081ec66a05687993dc2"
---

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

Discussion

# [Java Interview Questions](https://bikash-nishank.hashnode.dev/java-interview-questions?utm_source=hashnode&utm_medium=feed)

String: What is the difference between String, StringBuilder, and StringBuffer in Java? Explain how String is immutable in Java. What are the benefits of immutability? How does the intern() method work with String objects? What will be the output...

Oct 17, 2024 · 24 min read · bikash-nishank.hashnode.dev  
Read the article

-   [#java-interview-preparation](https://hashnode.com/tag/java-interview-preparation)
-   [#java-question](https://hashnode.com/tag/java-question)
-   [#java-interview-questions](https://hashnode.com/tag/java-interview-questions)
-   [#java-interview-questions-and-answers](https://hashnode.com/tag/java-interview-questions-and-answers)
-   [#javainterviewquestions](https://hashnode.com/tag/javainterviewquestions)

## Written by

[Bikash Nishank](https://hashnode.com/@bnishank)

@bnishank

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
