Question: help code in java, pls read the program carefully. ty 2. Create the following programs that work with an XML file: a. WriteDataToXML.java that writes
2. Create the following programs that work with an XML file: a. WriteDataToXML.java that writes a list of 10 random integers (from 1 - 100) to an XML file named lab8.xml b. Edit XMLData.java that i) reads the list integers from the file and displays its contents, storing the data into an array ii) prompts the user for an integer from 1-10 and multiplies all values in the array by that factor writes the list back to lab8.xml
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
