我想测试一下我的接口实现是否正确完成,但实际上并不知道如何实现。 如果你能给我一个关于我的实现的提示(可能缺少某些东西?),将非常感激。 它应该是一个简单的计算器。 public interface ICalculator {
/** Returns a+b */
public int add(int a, int b);
/** Returns a-b */
public int s
我有一个链表的Java implementation.But一个部分我不understand.my类是 class Node {
int data;
Node next;
Node(int d) {
data = d;
next = null;
}
}
和我有一个FN键插入 public static Node insert(N