Description
Lab 5A: Stacks and Queues
Objectives
To write a program using an ArrayList and a Linked List.
Problem Statement
Write a program that includes a method that returns the sum of all the elements of an ArrayList of Integer Objects. Allow the user to enter the integers to be added to your ArrayList from the console (max of 10 integers). Test your program and display your integers and the sum results.
Write a program that include a method that returns the sum of all the elements of a Linked List of Integers. Allow the user to enter the integers to be added to your Linked List from the console (max of 10 integers). Test your program and display your integers and the sum results.
What to Turn In
Follow submission guidelines on this page: http://ccse.kennesaw.edu/fye/Submission%20Guidelines.php