Check if two Strings are equal or not | Basic String Algorithms

preview_player
Показать описание
In this video we are going to check if two strings are equal or not. First we will check the length of two strings. If they are not equal then it means that the string is not equal.
After that we will check that if at any index the character in both the strings are not equal then the strings are not equal
Рекомендации по теме
Комментарии
Автор

Thanks a lot man 🤞🏽God bless you
Even thou the vid is 4 years old it still helped me with my assignments thanks

Nhlulo_Tumza
Автор

if(str1.equals(str2)) System.out.println(true); else System.out.println(false);

maywr
Автор

jeeez! slow down and explain the steps better bro you're so fast

Shiroyashasama