@@ -0,0 +1,284 @@
+package extthread;%0A/**%0A * %0A * %0A */%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class MyList %7B%0A%0A%09private static List%3CString%3E list = new ArrayList%3CString%3E();%0A%0A%09public static void add() %7B%0A%09%09list.add(%22anyString%22);%0A%09%7D%0A%0A%09public static int size() %7B%0A%09%09return list.size();%0A%09%7D%0A%7D%0A

Create MyList.java