private static String createRandom(int total) { String str = ""; for(int i= 0; i < total; i++){ int random = (int)(Math.random()*10); str += random; } return str; }
创建随机数
猜你喜欢
转载自blog.csdn.net/qq_34579060/article/details/80539761
今日推荐
周排行