How to create a Java program that gives off 10 alphabets (a-z) randomly? There must be at least 2 vowels too.
1
Expert's answer
2010-06-02T05:32:57-0400
It will make a permutation of those ones which were taken from 2 combinations. First combination consists of randomly taken 2 vowels and the other one consists of 8 randomly taken consonants. For example: import java.util.ArrayList; import java.util.HashSet;
Comments
Leave a comment