9. 11. 21. Checking for List Containment: public boolean containsAll(Collection c)
import java.util.Arrays; import java.util.List; public class MainClass { public static void main(String[] a) {
List list = Arrays.asList(new String[] { "A", "B", "C", "D" });
List list2 = Arrays.asList(new String[] { "B", "A" });
System.out.println(list.contains(list2));
}
}