2012-03-10, 08:25 PM
Yes that is what I meant,
If you replace Towers with Stack in the code from your code above, so it becomes:
Public Stack[] t = new Stack[3]
then instead of t[0].adddisc
just do t[0].push(new Disc(i));
will it compile?
If you replace Towers with Stack in the code from your code above, so it becomes:
Public Stack[] t = new Stack[3]
then instead of t[0].adddisc
just do t[0].push(new Disc(i));
will it compile?

