Homework : Due November 23rd
Read chapter 7, sections 7.1 - 7.3
- Subscript numbering of arrays in Java always begins with what number?
- Does Java initialize array elements? If so, to what value?
- Does Java perform bounds checking? What is bounds checking?
- Declare an array of ints, with 5 elements, and initialize it
to hold the values 2,4,6,8, and 10.
- What’s the difference between the two declaration statements?
int [] a, b, c;
int a[], b, c;
- Complete checkpoints 7.1-7.8.
- Describe the public field length which is part of each array in Java.
- What is the enhanced for loop?
- How do you copy one array to another?
- Complete checkpoints 7.9-7.12.
- Can you pass an array to a method?
- Complete checkpoints 7.13-7.14.
- Complete Multiple Choice and True/False: questions 2-6, and 14-20
- Complete Find The Error: 1-3
- Complete Algorithm Workbench: 1-2
Email Me |
Office Hours |
My Home Page |
Department Home |
MCC Home Page
© Copyright Emmi Schatz 2013