結果 : how to handle null pointer exception for integer in java