---
title: "Discussion on \"You Don't know JAVA #EP5\" | Hashnode"
description: "Discussion on \"You Don't know JAVA #EP5\". Case 1(StringBuffer):\n    public class Main{\n\n    public static void main(String ... args){\n\n    StringBuffer sb1= new StringBuffer(\"EP5\");\n    StringBuffer sb2= new StringBuffer(\"EP5\");\n    System.out.println(sb1==sb2);\n    System.out.println(sb1.eq..."
url: "https://hashnode.com/posts/you-dont-know-java-ep5/63078ced79f56556d0cbac3e"
---

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

Discussion

# [You Don't know JAVA #EP5](https://hritik.hashnode.dev/you-dont-know-java-ep5?utm_source=hashnode&utm_medium=feed)

Case 1(StringBuffer): public class Main{ public static void main(String ... args){ StringBuffer sb1= new StringBuffer("EP5"); StringBuffer sb2= new StringBuffer("EP5"); System.out.println(sb1==sb2); System.out.println(sb1.eq...

Aug 25, 2022 · 2 min read · hritik.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Hritik manbattulwar](https://hashnode.com/@hrk007)

@hrk007

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
