According to java why can not this program be compiled?

Printable View