Java сравнить чар

don't forget to use single quotes('char') in stead of double quotes("String") like with String.
Tense Turtle