
Why should we prefer using .equals() to == while comparing strings in Java?
There is often a confusion between == and .equals(). Let's clear that confusion in a very simple way!
Jan 25, 20224 min read228
Search for a command to run...

There is often a confusion between == and .equals(). Let's clear that confusion in a very simple way!

To master anything, we need to first get a grip on the basics. Have you started your journey with java and/or have always wanted to understand the difference between JDK, JRE and JVM in simplified terms? Then, https://giphy.com/gifs/justin-squid-game...