How To Convert Array Into Int In Java