我在Java中使用默认的“ Objekt”类型有问题。我觉得有可能将“ Objekt”类的属性命名为“ Objekt”,因此它需要使用任何类型的Objekt作为分配。错误是“找不到符号”,代码如下:
class List{
private class Cell{
Objekt value;
Cell next;
Cell (Objekt value, Cell next){
this.value = value;
this.next = next;
}
}
/* Following Methods that use other Classes, so the code becomes very hard to follow,
so I'll leave them away because they dont seem to be the problem, as the error already
shows up at the first usage of the Type "Objekt"*/
}
先感谢您。
最佳答案
它不是Objekt
。它应该是Object
;