I want to add a list of strings into a randomizer be need help putting them into on variable
Here is the code
import java.util.Random;
public class pickgame {
public static void main(String[] args){
//The random games
string GenshinImpact;
string CodeVain;
string ScarletNexus;
string TalesOfArise;
string GodEater3;
string NeoTheWorldEndsWithYou;
string FinalFantasy15;
string FinalFantasy7;
string DevilMayCry;
String game =
Random random = new Random(); //make a random
System.out.println(game);
}
}
Aucun commentaire:
Enregistrer un commentaire