Java tutorial
public class MainClass { public static void main(String[] args) { char symbol = 'A'; if (Character.isWhitespace(symbol)) { System.out.println("true"); } else { System.out.println("false"); } } }