class Pointer{
public int value;
public Node next;
}
{
Node x, y, z;
x = new Node();
y = new Node();
z = new Node();
x.value = 7;
y.value = 8;
z.value = 9;
x.next = y;
y.next = z;
z.next = x;
}
Subscribe to:
Post Comments (Atom)
0 Response to "Contoh Program Pointer Pada Java"
Post a Comment