This article describes the method of automatically generating ID numbers in Java. Share it for your reference. The specific implementation method is as follows:
import java.util.UUID;public class SystemAttribute { public static String getUUID() { return UUID.randomUUID().toString().replace("-",""); }}I hope this article will be helpful to everyone's Java programming.