fork download
  1. import java.util.UUID;
  2.  
  3. class GerarUUID {
  4. public static void main(String[] aArgs) {
  5. UUID id = UUID.randomUUID();
  6. System.out.println("UUID " + id);
  7. }
  8. }
  9.  
Success #stdin #stdout 0.13s 320448KB
stdin
Standard input is empty
stdout
UUID 62264482-eed2-414d-ade2-197a39d61440