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...
Type: Posts; User: javapenguin
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...
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...