How To Compare One Number With Another Number In Array Java