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