Day13
1.代码:
package yrx;
public class LinkedList {
/**
* An inner class(内部类)
*/
class Node {
/**
* The data.
*/
int data;
/**
* The reference to the next node.
*/
Node next;
/**
*******************
* The constructor
*
* @param paraValue The data.
*******************
*/
public Node(int paraValue) {
data = paraValue;
next = null;
}// Of the constructor
}// Of class Node
/**
* The header node.The data is never used.
Day13最先出现在Python成神之路。
共有 0 条评论