@@ -0,0 +1,492 @@
+public boolean xyzThere(String str) %7B%0A  char x = %22x%22.charAt(0), y = %22y%22.charAt(0), z = %22z%22.charAt(0);%0A  // Account for strings that start with xyz%0A  if (str.length() %3E= 3 &&%0A      str.charAt(0) == x &&%0A      str.charAt(1) == y &&%0A      str.charAt(2) == z)%0A    return true;%0A%0A  for (int i=1; i%3Cstr.length()-2; i++) %7B%0A    if (str.charAt(i) == x &&%0A        str.charAt(i+1) == y &&%0A        str.charAt(i+2) == z &&%0A        str.charAt(i-1) != %22.%22.charAt(0))%0A      return true;%0A  %7D%0A  return false;%0A%7D%0A

Create xyzThere.java