Create a GUID in Java

Chris Dutrow picture Chris Dutrow · Jun 6, 2010 · Viewed 357.1k times · Source

What are some of the best ways to create a GUID in Java?

Answer

Kaleb Brasee picture Kaleb Brasee · Jun 6, 2010

java.util.UUID.randomUUID();