Use the equals() method to check if 2 strings are the same. The equals() method is case-sensitive , meaning that the string “HELLO” is considered to be different from the string “hello”.
Read moreUse the equals() method to check if 2 strings are the same. The equals() method is case-sensitive , meaning that the string “HELLO” is considered to be different from the string “hello”.
Read more