Comparing Objects in Java

TLDR; Java has a few different ways of comparing variables and objects with one another. ==, equals(), compareTo() and compare(). Java provides various operators such as == and != which check for equality and inequality respectively. They are used in a pr… Read more

Similar

Why Java Is Dying

To better align with the tech stack at my new job, I’ve been reacquainting myself over the last two weeks with an old friend: Java. Not too long ago, it kickstarted my software career with unmatched… (more…)

Read more »