Michael Rippee wrote:
I was meaning about Scanners being used to define variables as in,
int myVarible = myScanner.nextInt()
Rob Spoor wrote:John, can you post the stack trace you're getting? Also, you are aware that both if statements require brackets {} to execute all lines below them? Right now they are only executing the first line directly after them; the other lines are always executed.
Campbell Ritchie wrote:There is a keyword const in Java™. But it is never used.