Question: computer programming 2 WK2 IT 2045: Computer Programming ! WK2 exercise Oubmit on Canvas under Assignments -> WK2. Only submit the WK2.java file. Open the

IT 2045: Computer Programming ! WK2 exercise Oubmit on Canvas under Assignments -> WK2. Only submit the WK2.java file. Open the Java Application project created for WK1-exercise. This project should already have a main class file WK1.javo. Add another main class file called WK2.jova to the project as shown in class. Add the code below to WK2.java. The following program converts a given string into an ArrayList. For example, the string "Java" is converted into the ArrayList["1", "a", "v", "a"). Your task is to create another string from this ArrayList where the word Java is jumbled. Remember, an ArrayList size changes as you add/remove items from it. I have provided algorthmic guideline for the code. There are some errors in the code that you have to fix- only the bolded code needs to be changed or moved. No need to change anything else. Optional: Change this program so that it accepts user input (single word of any length) and jumbles it. polistic void mainting www /should be delated since this in local to this wethad? where you place this line of 7 **/ www.was recie: ring - my /ipos does not taket How many are here they show herald you ve te leze2/ String remis GER 3 WR2 Oton Comment under Antiponents > Wczowy brother for Open the con protonated for Weert. This project to ready have a manca wecja Addarthhan de fecal Wave to the project as shown in Mid the code beta WOM The following proper convertia plentering tot far esame, the conceited into the IT... Your task is to create another string from this where the word minder, die you move from the provided the deline for hende There are some errors in the code that you only the bolded code needs to be changed or moved Nadige Oplan lange this program so that accept user input single word of any length and jumbe importance public class public statie String stataistring word) for fimm()*4+) I/adding the to Cover the char inte a this is where for converting charumbers to bring what *** //this should print an Ambas. Need EAR // ereate a new sing where you gumble the word Java W sample berala //ehe following generates a random number betrem 0-1 1/you may need OL in your de som har Vlad - fint Lotion) int and - String geben Ironse onde goes have 7/Create foc loop that loopstines Il in the loop. Set & cando aber I/Osing the terden aber, get = letter from I/ Add the chosen letter to I this letter than hink what should be the range from which the card Wrabes choses you see tema crom //ther the loop progress.) Ene/What happens when the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
