java get random value from enum code example
Example: get random number from enum in java
return Letter.values()[new Random().nextInt(Letter.values().length)];
return Letter.values()[new Random().nextInt(Letter.values().length)];