public static String randomID(){
  return System.currentTimeMillis() + "";
}

public static String randomID ( ) { return System . currentTimeMillis ( ) + "" ; }
generate a random id . it depends on the application nature and purpose that different strategies can be used . e . g . single threaded - - > current milliseconds since epoch uuid and hash can also be feasible in certain cases
