A method used in strings. A string can use .equals(another string) to check if the 2 strings are the same.

`stringa.equals(stringb)

Returns a Boolean

There are other methods similar to this that are more specific like: - Java .equalsIgnoreCase() - Java .compareTo()