University of Iowa Computer Science Department

Quiz 07

 

1. Declare an integer array with 10 elements. Using a for loop initialize the array to contain the numbers 100 to 109.

2. Assume you have a class named Person. Declare an array of 33 Person elements. Initialize each element of the array to a Person by calling the zero-parameter constructor of the Person class.

UI CLAS CRA ACM Valid CSS! Valid XHTML 1.0 Transitional Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 Cynthia tested
| Modified: .