UUID

package test;

import java.util.UUID;

public class Uuid {
    public static void main(String[] args) {
        UUID uuid = UUID.randomUUID();
        System.out.println(uuid);                 //157fb6f9-7c13-49a4-b77f-9fd95f9741bd
    }
}

 

posted @ 2018-08-06 10:39  wuyueping  阅读(102)  评论(0编辑  收藏  举报