Java generuje losowy identyfikator
String id = UUID.randomUUID().toString();
Merlin4 (ranken)
String id = 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);
}
}