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

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/05 13:53:21
在Java中这样报错The method SayHi() is undefined for the type AccpTeacher是什么意思?
xPJ0dEϥMmF؅v+*9J)Cpe`:2iҞ| B"% {jSe5[_>a;F]Gjk\[Gf[:Qn#8N`iU6DlϮ{-_GHDe0^~7IN&?]n-/*?TF_x?o>=~Ρ/ذSb$.$(G8b ԃLK=`uq^p$jvvED}b

在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一下哈.