Here i post my java code