How To Get Last Digit Of A Number In Java