---
title: "Discussion on \"What is the difference between equals() and == in Java?\" | Hashnode"
description: "Discussion on \"What is the difference between equals() and == in Java?\". What is the difference between equals() and == in Java?"
url: "https://hashnode.com/posts/what-is-the-difference-between-equals-and-in-java/65809cf60c7c27299e5862cf"
---

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

Discussion

# [What is the difference between equals() and == in Java?](https://codeinjava.hashnode.dev/what-is-the-difference-between-equals-and-in-java?utm_source=hashnode&utm_medium=feed)

What is the difference between equals() and == in Java?

Dec 18, 2023 · 2 min read · codeinjava.hashnode.dev  
Read the article

-   [#equality-operator-in-javascript](https://hashnode.com/tag/equality-operator-in-javascript)
-   [#equals](https://hashnode.com/tag/equals)
-   [#interview](https://hashnode.com/tag/interview)
-   [#java-interview-questions](https://hashnode.com/tag/java-interview-questions)

## Written by

[Hemant Besra](https://hashnode.com/@hemantkumar)

@hemantkumar · Bengaluru, Karnataka

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

Java Full Stack Developer

Experienced Full Stack Java developer. Have Strong Experience in JSP/Servlet, JSF, Jasper Report, Spring Framework, hibernate, Angular 5+, Microservices. Experienced in Front-end technologies such as HTML, CSS, JavaScript, angular 6+, AJAX, JSON, and XML. Strong Hands-on experience on working with Reactive Forms to build form-based application in Angular 6+.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
