---
title: "Discussion on \"Understanding the Java String Pool\" | Hashnode"
description: "Discussion on \"Understanding the Java String Pool\". Why \"apple\" == \"apple\" is true in Java?"
url: "https://hashnode.com/posts/java-string-pool/69b1f00c6c896b0519ccd633"
---

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

Discussion

# [Understanding the Java String Pool](https://ejjung.hashnode.dev/java-string-pool?utm_source=hashnode&utm_medium=feed)

Why "apple" == "apple" is true in Java?

Mar 11 · 4 min read · ejjung.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#java-string-pool](https://hashnode.com/tag/java-string-pool)
-   [#string-pool](https://hashnode.com/tag/string-pool)
-   [#stringpool-in-java](https://hashnode.com/tag/stringpool-in-java)
-   [#string](https://hashnode.com/tag/string)

## Written by

[EJ Jung](https://hashnode.com/@ejjung)

@ejjung · Bellevue, WA

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
