@@ -0,0 +1,502 @@
+import java.util.*;%0A%0Apublic class ListOps %7B%0A    public static void main(String%5B%5D args) %7B%0A        ArrayList%3CString%3E sentence = new ArrayList%3CString%3E();%0A        sentence.add(%22This%22);%0A        sentence.add(%22is%22);%0A        sentence.add(%22a%22);%0A        sentence.add(%22sentence%22);%0A        sentence.add(%22with%22);%0A        sentence.add(%22some%22);%0A        sentence.add(%22words%22);%0A        System.out.println(sentence);%0A        // print the word %22words%22%0A        System.out.println(sentence.get(sentence.size()-1));%0A    %7D%0A%7D%0A

add basic list operations example