Forum Stats

  • 3,874,931 Users
  • 2,266,788 Discussions


Shuffle ArrayList with .size and .remove?

870489 Member Posts: 1
edited Jun 21, 2011 9:52PM in Java Desktop Applications
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.


  • 796440
    796440 Member Posts: 19,179 Gold Trophy
    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?
This discussion has been closed.