Question: please help. explain all answers and show work. finna learn choice) Created a new. java file from scratch that includes the code specified below. Compile


please help. explain all answers and show work. finna learn
choice) Created a new. java file from scratch that includes the code specified below. Compile copy and run the application, then turn in a printed source ure 1) Edit your file in your IDE and make the following changes/additions a. Name the file to Lab14xXxx.java, where xXxx is your initials and the next 2 letters of your last name. - b. Name your class to Lab14xxxx c. Have the first statement print out your name on the screen d. Write a static method that will take in an integer parameter and na return an integer array filled with random numbers. The value of the integer parameter is the size of the array that you will return. another static parameters -the int 1 to print, and a second integer that is e. Display all the random numbers in their order in the array via method you write. This method takes two the number of values to display on each line. t. Write a simple static method that takes an int [1 as its only parameter and returns the largest value in the array. g. Your main method then needs to i. Call the method that generates the random array and ii. Pass that array and a value of your choosing to the iii. Call the method to find the maximum value. Display that assign that array to a local variable output method value with a descriptive caption 2) Build and run your project, correcting any compile errors that may occur. Also be aware that errors can "cascade"- the first error may be causing the other errors. 3) Upload your java source file to turn it in. Include a comment block at the top of the source file with the usual info. This is an individual lab. Seek assistance from the instructor or other students where necessary, but by the end of the lab you should be able to do it solo. Also check the resources in the book, on Canvas, and other online resources you may find helpful. A sample code skeleton is on the next page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
