Anyone know how to put a random number generator within the parameters of the method? I keep getting errors whenever I try to make the random number generator object.
Ex:
public static void chooseSubstring (String text, int length, new Random()) {
}
Aucun commentaire:
Enregistrer un commentaire