@@ -0,0 +1,331 @@
+public class Array11 %7B%0A  public static void main (String... args) %7B%0A    // Result: 1.%0A    System.out.println(new Array11().array11(new int %5B%5D%7B2,6,11%7D,0));%0A  %7D%0A  %0A  public int array11(int%5B%5D nums, int index) %7B%0A%09  return (nums.length==0%7C%7Cindex==nums.length)?0:((nums%5Bindex%5D==11)?1+array11(nums, ++index):array11(nums,++index));%0A  %7D%0A%7D%0A

Create Array11.java