this.coursetoSelect= new ArrayList();报错
import java.awt.List; import java.util.ArrayList; //备选课程 public class ListTest { public List coursestoSelect; public ListTest(){ this.coursestoSelect= new ArrayList(); } } 老师这句话this.coursetoSelect= new ArrayList();报错,显示Type mismatch: cannot convert from ArrayList to List 是怎么回事啊