User Tools

Site Tools


project:week03

Arrays

Lecture 1

Problem: How can a list of items of the same kind be kept?

  • Array declaration
  • Array reading and writing
  • Primitive type arrays vs. object arrays
  • Array bounds
  • Connection to for-loops
  • Resizing of arrays

Note: Arrays may start in the second half of the previous week.

Examples

Lecture 2

Problem: How can a table of items of the same kind be kept?

  • Passing arrays to methods
  • Arrays as return values
  • Multidimensional array declaration
  • Multidimensional array reading and writing
  • Ragged arrays [Optional]

Examples

Matrix multiplication

Lab

project/week03.txt · Last modified: 2010/05/11 14:49 by jtk