热门标签
更多>
搜索结果
查询Tags标签: radom,共有 2条记录-
javaSE-验证码生成
一、使用Math类的radom() 方法//生成验证码String verifcationCode = "";for (int i = 0; i <= 5; i++) {double random = 10 * Math.random();verifcationCode = verifcationCode + Integer.toString((int) random);} 二、使用
2021/12/15 17:19:51 人评论 次浏览 -
javaSE-验证码生成
一、使用Math类的radom() 方法//生成验证码String verifcationCode = "";for (int i = 0; i <= 5; i++) {double random = 10 * Math.random();verifcationCode = verifcationCode + Integer.toString((int) random);} 二、使用
2021/12/15 17:19:51 人评论 次浏览