import java.util.ArrayList; import java.util.Collection; public class MainClass { public static void main(String[] argv) { Collection collection = new ArrayList(); collection.add("1"); System.out.println(collection); } }
[1]