Common error messages in Java

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


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324394679&siteId=291194637