Question: Write two JAVA METHODS. The first creates a file of 25 lines each with 1 randomly generated number between 0-99. Output File: Problem1Out.txt. The second
Write two JAVA METHODS. The first creates a file of 25 lines each with 1 randomly generated number between 0-99. Output File: Problem1Out.txt. The second should accept an array of Strings that will be passed from another method. They should be stored in a file in exactly the order they appeared in the array.Output File: Problem2Out.txt. Please do not modify the method headers or params. Method one: public void Problem1() { } Method two: public void Problem2(String[] myStrAr) { }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
