That code will create an s1 string object and a reference variable. As noted, Java ... Users can perform basic operations, such as comparing strings. The .equals() method is used to compare strings, ...