Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

'==' operator #2

@Abhimanyu10

Description

@Abhimanyu10

https://github.com/SedaKunda/HackerRank/blob/d346b889f5c4e3a5835e304d05a1f257bab4daab/Java/Data-Structure/JavaSort.java#L34

== operator compares the reference of an object in Java. As far as I know .equals() method checks the actual contents of the string .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions