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:

Write a Java program that allows the following: 1. Create an array

list of 20 integers. The 20 integers are generated randomly with possible

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!