What is wrong in this code of java

Printable View