@@ -0,0 +1,762 @@
+package codingbat.warmup2;%0A%0A/*%0A * Given a string, return a new string made of every other char starting %0A * with the first, so %22Hello%22 yields %22Hlo%22. %0A * %0A * stringBits(%22Hello%22) = %22Hlo%22%0A * stringBits(%22Hi%22) = %22H%22%0A * stringBits(%22Heeololeo%22) = %22Hello%22%0A */%0A%0Apublic class StringBitsTest %7B%0A%0A  public static void main(String%5B%5D args) %7B%0A%0A    StringBitsTest test = new StringBitsTest();%0A%0A    System.out.println(%22%3E%22 + test.stringBits(%22Hello%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringBits(%22Hi%22) + %22%3C%22);%0A    System.out.println(%22%3E%22 + test.stringBits(%22Heeololeo%22) + %22%3C%22);%0A  %7D%0A%0A  public String stringBits(String str) %7B%0A    String result = %22%22;%0A    for(int i = 0; i%3Cstr.length(); i++)%7B%0A      if(i%252==0) result += str.substring(i, i+1);%0A    %7D%0A    %0A    return result;%0A  %7D%0A%0A%7D%0A

add task string bits