@@ -0,0 +1,368 @@
+package esempi;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.Vector;%0A%0Apublic class UsoRemove %7B%0Apublic static void main(String%5B%5D args) %7B%0A%09Vector%3CString%3E names = new Vector%3C%3E(Arrays.asList(%22A%22,%22B%22,%22C%22));%0A%09for (int i = 0; i %3C names.size(); i++) %7B%0A%09%09String n = names.get(i);%0A%09%09if (n.equals(%22B%22))%0A%09%09%09names.remove(i);%0A%09%7D%0A%09System.out.println(names);%0A%7D%0A%7D%0A

Create UsoRemove.java