我有这个:
class undefinedException extends Exception {
super("Its not defined!");
}
但我得到: 类型的非法开始
怎么了?
谢谢
最佳答案
应该是
class UndefinedException extends Exception {
public UndefinedException() {
super("Its not defined!");
}
}
关于Java非法启动类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6301814/