A small compile error
Hey guys, I have this line of code in my program, but its giving me an error.
here is the code:
if (!(currentChar == " "))
and here is the error:
WordReader.java:21: operator == cannot be applied to char,java.lang.String
if (!(currentChar == " "))
WordReader is the name,
currentChar is a char variable
thanks !

