Lab Objective: In this lab, we will demonstrate how to declare and initialize ArrayList, and how to manipulate ArrayList using built-in methods. By the end of this lab, learners will be able to use ...
1.a Add the following array as a global variable: int[] arr = { 28, 230, 9, 310,72} 1.b. Write a method, getRandom() that returns a random element from the above array. 1.c Add a setup method, from ...