As Math.random internally uses nextDouble method, it will always return double number. In order to get Integer you have to cast the value to ...
確定! 回上一頁