Why i am getting this error

any solution is not accepted here in java