package com.ityx.d3_static_test;import java.util.Random;public class VerifyTool { //private VerifyTool(){} public static void main(String[] args) { System.out.println("验证码:" + createCode(5)); } public static String createCode(int n){ String chars = "abcdefghijklmnoqprstuvwxyzABCDEFGHIJKLMNOQPRSTUVWXYZ0123456789"; String code = ""; Random r = new Random(); for(int i = 0;i
java实现验证码的功能
时间:2023-06-20
上一篇:JVM运行时参数大全
下一篇:sqoopimportquery
相关推荐