Post date: Dec 10, 2017 4:17:19 AM
Please complete, for ALL COURSES, the FIRST 3 TYPES of surveys in the ENGLISH version: http://10.30.16.15/esurvey_male/login.php
Chapter 14: Generics and the ArrayList Class
14.1 The ArrayList Class
Lab Exercise:
Ex 1:
Write a Java program that get 10 real numbers from the user using an ArrayList. Calculate and display the total and the average of these numbers, then ask the user to enter a number and display whether the number can be found in the ArrayList or not.
Ex 2:
Write a Java class named ArrayListSort that has 2 static methods selectionSort and bubbleSort that takes an ArrayList<String> as argument.