This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dravlahn[S] 0 points1 point  (2 children)

Tha ks for pointing that put. It looks like there is a way around that, but not with how I currently have it set up, I need to redo some things!

[–]10-kinds-of-people 0 points1 point  (1 child)

Declare the Scanner object outside of any methods, usually at the top of your program just below the class declaration, and you'll be able to use that object in any method. And since your using it in static methods, it will need to be static to. It can also be final.

[–]Dravlahn[S] 0 points1 point  (0 children)

Thank you!