Search:

Type: Posts; User: javapenguin

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    2,488

    Re: Help with assignment

    Ok, maybe nothing wrong with having it inside the main method I suppose. However, main is static. Shouldn't Scanner be static too?

    Also, when I was suggesting Vectors, it was because he had...
  2. Replies
    12
    Views
    2,488

    Re: Help with assignment

    Here might be one source of error:


    Scanner input = new Scanner(System.in);

    Maybe I'm wrong, but normally every time I've done that Scanner thing, I've done made it static.
    Also, I normally...
Results 1 to 2 of 2