@@ -0,0 +1,325 @@
+public class Test %7B%0A   public static void main(String%5B%5D args) %7B%0A      String sampleString = %22Cat,Dog,Elephant%22;%0A      String%5B%5D animals = sampleString.split(%22,%22);%0A      System.out.println(%22The number of animals is: %22 + animals.length);%0A      for (String animal : animals) %7B%0A         System.out.println(animal);%0A      %7D%0A   %7D%0A%7D%0A

Update and rename split to split/Test.java