@@ -0,0 +1,326 @@
+public String deFront(String str) %7B%0A  if (str.length() == 1) return str.equals(%22a%22) ? %22a%22 : %22%22;%0A  if (str.length() == 0 %7C%7C str.substring(0, 2).equals(%22ab%22)) return str;%0A  if (str.charAt(0) == 'a') return str.substring(0, 1) + str.substring(2);%0A  if (str.charAt(1) == 'b') return str.substring(1);%0A  return str.substring(2);%0A%7D%0A

Create deFront.java