Question: need help making a randomizer code for this public static void main ( String [ ] args ) { Scanner input = new Scanner (
need help making a randomizer code for this public static void mainString args
Scanner input new ScannerSystemin;
String name LabUtility.getNameinput;
File csvfile LabUtility.getFileinput;
Random random new Random;
int yearsOfMarriage random.nextInt;
ArrayList homeList LabUtility.buildListFromCSVcsvfile;
ArrayList spouseList LabUtility.buildListFromCSVcsvfile;
ArrayList occupationList LabUtility.buildListFromCSVcsvfile;
ArrayList transportationList LabUtility.buildListFromCSVcsvfile;
ArrayList hometownList LabUtility.buildListFromCSVcsvfile;
System.out.println;
System.out.printlnWelcome name this is your future...";
System.out.printlnYou will marry spouseList and live in a homeList ;
System.out.printlnAfter yearsOfMarriage years of marriage, you will finally get your dream job of being a occupationList ;
System.out.printlnYour family will move to a homeList in hometownList "where you will transportationList to work each day.";
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
