Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tower's of Hanoi using Stacks - Java
#11
MoldyBunny Wrote:probably used the wrong terminology when replying, but basically you create an array of references but don't create the actual objects.

Oh. That makes sense.
So, how to fix? Drawing a blank.

@XTOTHEL
Replacing it with Stack doesn't work. I assume it's the same problem, there isn't actually an object to add to, just a reference.
Reply


Messages In This Thread
Tower's of Hanoi using Stacks - Java - by XTOTHEL - 2012-03-10, 07:02 PM
Tower's of Hanoi using Stacks - Java - by XTOTHEL - 2012-03-10, 07:58 PM
Tower's of Hanoi using Stacks - Java - by XTOTHEL - 2012-03-10, 08:02 PM
Tower's of Hanoi using Stacks - Java - by XTOTHEL - 2012-03-10, 08:25 PM
Tower's of Hanoi using Stacks - Java - by Marksman Bryan - 2012-03-10, 08:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)