Computer Science 252
Problem Solving with Java

Spring 2014, The College of Saint Rose

Lecture 21: ArrayList Wrapup; Arrays
Date: Tuesday, April 15, 2014


Lecture 21 Assignment

Due at the start of class, Thursday, April 17.

Please submit answers to these questions in Submission Box under "LA21" or in hard copy by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.

  1. BDM Exercise 14.9.2, p. 399. (8 points)
  2. Write a method that takes an array of double values as its parameter and returns the sum of all elements in the array. (4 points)