Yes we must use equals method.
When a user inputs the abbreviation the String is constructed with the new operator and hence new String object is created. This "==" checks if both the references...