why String.isEmpty() gives syntax error

Printable View