1 Reply Latest reply: Jun 21, 2011 8:52 PM by 796440 RSS

    Shuffle ArrayList with .size and .remove?

      I was asked to do this in an assignment, and I can't figure it out for the life of me. I'm in Java 2.
        • 1. Re: Shuffle ArrayList with .size and .remove?
          1. I have no idea what "Shuffle ArrayList with .size and .remove" is supposed to mean. You'll have to provide more detalis.

          2. This site is not for teaching stuff that you should have learned already. It's for helping with specific Java problems. If you truly have no idea where to start, nobody here can help you. You need to talk to your teacher, or review the course materials so far.

          Do you really have no idea where to start?

          Do you know how to write a Hello World program?

          Have you used ArrayList before, and/or do you know how to read its javadocs?

          Have you thought at all about what the algorithm will be, without regard to Java--just the steps you'll need to perform?