import java.util.UUID;
public class UUID_Test {
public static void main(String[] args) {
System.out.println(UUID.randomUUID().toString());
}
}
怕忘了, 记着点儿
import java.util.UUID;
public class UUID_Test {
public static void main(String[] args) {
System.out.println(UUID.randomUUID().toString());
}
}