'==' checks for reference equality, meaning it checks if two references point to the same object. The '.equals()' method is used to check for content equality.