public QueueNode rear; //佇列的尾端指標 //建構子 public Linked_List_Queue() { front = null; rear = null; }
public QueueNode next; // 指向下一個節點 //建構子 public QueueNode(int data) { this.data = data; next = null; }