There are two type of comparison in JAVA
One is content comparison and the other is address comparison
content comparison
Compare if two values refer to the same value
address comparison
Compare if two values refer to the same memory address
Reference: https://jaekk9916.github.io/posts/20/