Issue
I am using JDK 11.0.2. What is the default UUID version if i do:
UUID.randomUUID();
Adding more details. By version i mean UUID v1 / UUID v2 / v3 / v4 etc..
Solution
In addition to comments above, i also tried the version()
method to get the uuid version.
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/UUID.html#version()
Answered By - user1354825
Answer Checked By - Clifford M. (JavaFixing Volunteer)