虽然你这图清晰度不高,但是能看出来是你的main函数不对,你写成了mian,应该是main才对了
你的main() 函数呢?你要写在main函数里public static void main(String[] args) {
这里写代码
}
这是小白之王