Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to generate random id in java

import java.util.UUID;
public class UUIDExample.
{
public static void main(String[] args)
{
UUID uuid=UUID.randomUUID(); //Generates random UUID.
System.out.println(uuid);
}
}
 
PREVIOUS NEXT
Tagged: #generate #random #id #java
ADD COMMENT
Topic
Name
6+1 =