Multiple markers at this line
This line has multiple error markers
List cannot be resolved to a type
List cannot be resolved to a class, in this case the package is to be imported, or the class is not defined
Type mismatch: cannot convert from element type A to B
Type mismatch: The element type A cannot be converted to B. This is the type mismatch of a in for(A a:array){}, just change it to B