Java Tutorial - The Difference Between == and equals()

preview_player
Показать описание
In this video, I explain to you the difference between the == operator and the equals() method in Java. I also show you how to implement custom equals methods for your classes.

More Videos coming soon.
Leave a comment for any future video suggestions.
Рекомендации по теме
Комментарии
Автор

shortened == for enums and numbers .equals for objects and everything else

Kuzminn
Автор

24 min wow I did not know there was possibly this much to know abt == and .equals()

brendanbutters
Автор

this is something I look up every time I need to know the difference. I just can't seem to remember it

SLR
Автор

What is the diference between "equals equals" with "equals"
-kody 2020

Oscar jsjsjs okay no, thanks about this, now i can understand it .

CrisGO
Автор

don't ping me








Nice videos

souravsreekumar