Consider the attached method. Which of the following calls to mystery will return *
rue ?
public
static boolean mystery (String str)
String temporaryWord = "";
for (int k = str.length(); k > 0; k--)
{
temporaryWord temporaryWord + str.substring(k-1, k);
}
return temporaryWord.equals(str);