Java tutorial
//package com.java2s; import java.util.UUID; public class Main { public static String getRandomNumber() { /* * Random generator = new Random(); int r = generator.nextInt(1000); */ return UUID.randomUUID().toString(); } }