Question: Write a Java program that allows the following: 1. Create an array list of 20 integers. The 20 integers are generated randomly with possible values
Write a Java program that allows the following:
1. Create an array list of 20 integers. The 20 integers are generated randomly with possible values from 0 to 10.
2. Print the content of the array list.
3. Find how many of these values are multiple of 3.
Show a screenshot of the output with your name and Id in the first line (if there is no screenshot of the output, the student shall get a zero mark for this question).
Program typical run:


Program typical run: Scenario run: This program is written by: Ali Abdullah, Id 17001234 The content of the array list is: 74772 9 10 1 1 8 1 39602903 9 There are 9 multiple of 3 BUILD SUCCESSFUL (total time: 0 seconds) Scenario Y run: This program is written by: Ahmed Omar, Id 17007890 The content of the array list is: 10 9749737326 663 0 6 5 10 2 7 There are 10 multiple of 3 BUILD SUCCESSFUL (total time: 0 seconds) The following snipped code can help you to write your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
