快来个大神帮我解决
public static void main(String[] args) {
// TODO Auto-generated method stub
SetTest si= new SetTest();
si.testAdd();
si.testForEach();
//创建一个学生对象
Student student=new Student("1","小华");
System.out.println("欢迎学生"+student.name+"来选课");
}
执行到这一步Student student=new Student("1","小华");他对Student报错,说Student cannot be resolved to a type意思就是学生不能分解成一种类型。为什么视频里老师的就不会报错我改怎么解决