獲取隨機數方法

第一種: 獲取1-9的隨機數 ThreadLocalRandom.current().nextInt(1, 10); 第二種:獲取0-9的隨機數 0+ random.nextInt(10);web
相關文章
相關標籤/搜索