Search:

Type: Posts; User: kassavetova

Search: Search took 0.26 seconds.

  1. Replies
    13
    Views
    1,258

    [SOLVED] Re: shuffle array items?

    Not sure what you mean by using the -Xlint option. I compiled it with -Xlint and I looked at the warnings already which didn't really make sense to me because as I mentioned before I'm quite new to...
  2. Replies
    13
    Views
    1,258

    [SOLVED] Re: shuffle array items?

    Nevermind, I didn't know it would still run if I tried it so I don't really care about the warnings anymore, thanks.
  3. Replies
    13
    Views
    1,258

    [SOLVED] Re: shuffle array items?

    Yep I tried this but I haven't really encountered warnings of this type. To be frank never really encountered warnings when compiling a program at all... I am quite new to java so I guess that's why....
  4. Replies
    13
    Views
    1,258

    [SOLVED] Re: shuffle array items?

    Oh I see, okay. Any idea why I'm getting the error in the above example?
  5. Replies
    13
    Views
    1,258

    [SOLVED] Re: shuffle array items?

    Thanks Junky, used another loop outside the first one and it worked.
    @Norm, I looked at the doc material but I was a bit confused on how to actually use the shuffle method so I googled it and most...
  6. Replies
    13
    Views
    1,258

    [SOLVED] shuffle array items?

    Hi guys, so I have the following piece of code:




    public class Test{

    public static void main (String args[]){
    int[] myList = {1,2,3,4,5};
    for (int i = 0; i <...
Results 1 to 6 of 6