Line 10: The assigned value is never used
----
Line 23: Cannot find symbol
symbol: variable nextString
location: variable scan of type Scanner
----
Line 24:
Cannot find symbol
Symbol:...
Type: Posts; User: DaHappy
Line 10: The assigned value is never used
----
Line 23: Cannot find symbol
symbol: variable nextString
location: variable scan of type Scanner
----
Line 24:
Cannot find symbol
Symbol:...
But i can't copy those errors, do i have to write those down? :/
--- Update ---
Sry for spam, my internet went down and i pressed post some times :O
all errors!
School = scan.nextString;
symbol: variable nextString
location: variable scan of type Scanner
System.out.println(School == Good ? "How nice" : "Aww, that's sad");
...
Okay, im using netbeans as my compiler. And don't judge me for my text. Im new and im just texting stuff. I can't get my Scanner to work with a String. last thing on the code, i got a School variable...