> You are allowed to use 'new' to allocate memory for
> new Pairs).
> Pair is defined as
> public class Pair {
> public Object p;
> public Object q;
> public Pair(Object p, Object q) {
> this.p = p;
> this.q = q;
> }
> }
Excellent problems all.
Just to be clear, Hans is doing this so that you can return
two lists. The "Bug of the week" fix allows you
to change one list: to change two lists, you need
to either
o Use global variables
o Use an array of lists
o Return an object that contains two lists
(could be a pair, or an array, or....)
- jeff parker