ID unik Java
String uuid = UUID.randomUUID().toString();
CR1N993R
String uuid = UUID.randomUUID().toString();
import java.util.UUID;
public class UUIDExample.
{
public static void main(String[] args)
{
UUID uuid=UUID.randomUUID(); //Generates random UUID.
System.out.println(uuid);
}
}
String uniqueID = UUID.randomUUID().toString();