出现Must declare a named packge because this compilation unit is associated to the named module'Student' student是我的文件名,我是新手 这怎么解决啊

出现Must declare a named packge because this compilation unit is associated to the named module'Student' student是我的文件名,我是新手 这怎么解决啊

在工程下,先创建包,在包下创建类