Re: newbie java/OOP question

From: Joe (sfjoe_at_spamcop.net)
Date: 10/07/03


Date: Tue, 7 Oct 2003 08:50:28 -0700

In article <KXrgb.696238$Ho3.153115@sccrnsc03>,
user245@nospammmmmmmmmmm.hotmail.com says...

> answer.head = IntNode.listCopy(head);
>
>
> Any pointers or keywords to look up would be apprecited.

My first impression is that the example code is an example of very bad
OOP. Obviously I haven't seen the whole example and I could be wrong, but
from that single line, it appears as if the author is porting an example
in C directly over to Java. If you're having difficulty understanding it,
perhaps you should google a different example of a linked list
implementation and see if that makes better sense.

---
"War is God's way of teaching Americans geography"
                       -- Ambrose Bierce


Relevant Pages