Java
List addAll() Method in Java
addAll(Collection c) method of List appends all the elements of the specified collection to the end of the List instance. The specified collection’s iterator defines the order of added elements. The behavior of this method is undefined if someone modifies the supplied collection during this operation. Syntax: Let’s look at Read more…