Answers for "how to assign random id in java"

2

java generate random id

String id = UUID.randomUUID().toString();
Posted by: Guest on February-25-2021
-1

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);
}
}
Posted by: Guest on January-30-2021

Code answers related to "how to assign random id in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language