Why can relational operators be used for char variables but not String objects?