Академический Документы
Профессиональный Документы
Культура Документы
class node
{
String data;
node next;
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
node first = new node();
node sec = new node();
first.data = "one";
sec.data = "two";
first.next = sec;
sec.next = null;