how to do a unique id in java code example Example: java unique id String uuid = UUID.randomUUID().toString();