打字:
Entry newentry = new Entry(j, 0.0);Entry test = (Entry) newentry;
另外,如果
getValue是 class方法 ,则不需要 实例 来访问它,则可以直接调用它:
Object x = Entry.getValue();

打字:
Entry newentry = new Entry(j, 0.0);Entry test = (Entry) newentry;
另外,如果
getValue是 class方法 ,则不需要 实例 来访问它,则可以直接调用它:
Object x = Entry.getValue();