Search:

Type: Posts; User: ViRAL

Search: Search took 0.09 seconds.

  1. Replies
    15
    Views
    1,447

    Re: PLease help, I am trying to...

    Assignments usually means time-pressure. Taking that into account, here is the answer:


    int[] a = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100};

    That makes an array of ten int-numbers. 10 to 100....
  2. Replies
    6
    Views
    1,314

    [SOLVED] Re: Noobie equals() problem.

    I read the API carefully and managed to detect my own problem, so the code functional. For now at least.

    Thanks have been given to everyone who helped me!:cool:
  3. Replies
    6
    Views
    1,314

    [SOLVED] Re: Noobie equals() problem.

    So what you mean is that the equals()-method is getting an int (or Integer) as an argument?

    Something the lines of...


    public boolean equals(SomeNumberHere) {
    ...
    ...
    ...
  4. Replies
    6
    Views
    1,314

    [SOLVED] Noobie equals() problem.

    Alright, I'm not gonna' lie. This is probably a silly problem for all you veterans, but I'm very (VERY) fresh in the art of Java code-writing, so forgive the noobishness.

    I'm writing an...
Results 1 to 4 of 4