在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 15:40:08
在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?

在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?
在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?

在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?
这种问题,肯定编译都通不过.
这个方法没有在AccpTeacher这个类中定义.
你看看:
1:有没有引用对类
2:是不是方法名敲错了
都check一下哈.