Junior — Senior
Detection of a defect in the function of merging two lists
livecode
Task condition
The addAll method is provided, which takes two lists: first and second. It is required to identify a possible error in its implementation.
public <T> void addAll(List<? super T> first, List<? extends T> second){
second.addAll(first);
}