Question: Java Make a class ArrLisEx1 and a testing class TestArrLisEx. These two classes should be used to write instance methods for the tests above. Each
Java
Make a class ArrLisEx1 and a testing class TestArrLisEx. These two classes should be used to write instance methods for the tests above. Each test should return an ArrayList with the alterations done. The main method of the test class should print the original list and the changed list.
a.There should be only one testing class but you may prefer to make separate classes with separate private ArrayList variables for each of the three exercises. b.Make sure you have methods created already to make arraylists of random strings and arraylists of random integers where required.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
