University of Iowa Computer Science Department

Quiz 08

1. Declare a two-dimensional array (named b) with 3 rows and 5 columns. Add up all the elements of the 2-D array using nested for loops.

2. Define two classes named A and B, defining a zero parameter constructor in each one. Make B a subclass of A. Then have B's zero-parameter constructor call A's zero parameter constructor.

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: .