Java 不会,但是 Node 的定义在哪里??$javac List.java
List.java:5: error: cannot find symbol
public Node ReadPloy(){ //输入节点
^
symbol: class Node
location: class List
List.java:32: error: cannot find symbol
static void Attach(int c,int e,Node rear){ //把多项式的一个节点赋给rear节点的下一个
^
symbol: class Node
location: class List
List.java:40: error: cannot find symbol
Node Add(Node a,Node b){ //两个多项式相加
^
symbol: class Node
location: class List
List.java:40: error: cannot find symbol
Node Add(Node a,Node b){ //两个多项式相加
^
symbol: class Node
location: class List
List.java:40: error: cannot find symbol
Node Add(Node a,Node b){ //两个多项式相加
^
symbol: class Node
location: class List
List.java:78: error: cannot find symbol
static void PrintPloy(Node a){ //输出节点
^
symbol: class Node
location: class List
List.java:6: error: cannot find symbol
Node head ;
^
symbol: class Node
location: class List
List.java:7: error: cannot find symbol
Node rear = new Node();
^
symbol: class Node
location: class List
List.java:7: error: cannot find symbol
Node rear = new Node();
^
symbol: class Node
location: class List
List.java:13: error: cannot find symbol
Node n = new Node();
^
symbol: class Node
location: class List
List.java:13: error: cannot find symbol
Node n = new Node();
^
symbol: class Node
location: class List
List.java:20: error: cannot find symbol
Node n = new Node();
^
symbol: class Node
location: class List
List.java:20: error: cannot find symbol
Node n = new Node();
^
symbol: class Node
location: class List
List.java:33: error: cannot find symbol
Node p = new Node();
^
symbol: class Node
location: class List
List.java:33: error: cannot find symbol
Node p = new Node();
^
symbol: class Node
location: class List
List.java:41: error: cannot find symbol
Node first,last;
^
symbol: class Node
location: class List
List.java:95: error: cannot find symbol
Node a = list.ReadPloy();
^
symbol: class Node
location: class List
List.java:96: error: cannot find symbol
Node b = list.ReadPloy();
^
symbol: class Node
location: class List
18 errors
|