Java String Comparison Tutorial (Equals vs == in Java)

Описание к видео Java String Comparison Tutorial (Equals vs == in Java)

$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h

You can compare strings in Java with either == or equals(). This video goes over when to use each. Most of the time you'll want to use equals to compare strings in Java because it compares the contents, not the object itself.

I hope you enjoyed this Java string comparison tutorial!

Full Java Tutorial For Beginners Playlist:    • Full Java Course by Alex Lee  
Free Tips: https://bit.ly/3U6HXcb

Disclosure: Springboard link provided is linked to my affiliate accounts & supports the channel.

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee

Комментарии

Информация по комментариям в разработке