How to send random class to the new method as an argument?
package practice;
import java.util.Random;
public class test {
public static void main(String[] args) {
Random generator= new Random(seed);
fillMatrixRandom(generator);
public static void fillMatrixRandom(int generator) {
}
}
Aucun commentaire:
Enregistrer un commentaire