Question: Utilize the IntArrayList class ( library ) to create a test class. This test class should randomly generate 2 0 numbers within the range of
Utilize the IntArrayList class library to create a test class. This test class should randomly
generate numbers within the range of to exclusive and add them to an Array List. Then,
create a second Array List that contains only the numbers that appear more than once.
Hint: Use the list's contains method to determine if a list already contains a value.
Sample Execution:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
