Dave's Brain

Browse - Programming Tips - How can I make a UUID (Universal Unique ID) ?

Date: 2014dec2
Language: Java

Q.  How can I make a UUID (Universal Unique ID) ?

A.  You could do it yourself, but its easier to use this built in:

import java.util.UUID; String uuid = UUID.randomUUID().toString();

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.