4. Creating and Using Arrays

Note:

  • there is overlap between topics, which is unavoidable due to the organisation of the objectives
  • Touched on topics are introduced, but covered in other sections in much greater detail


4.1 Declare, instantiate, initialize and use a one-dimensional array


Topics:

  • Three ways of creating an array
  • Populating an array using: braces, index, loop
  • Array length and equality
  • Utility methods: printing, copying, sorting, searching



4.2 Declare, instantiate, initialize and use multi-dimensional array


Topics:

  • Populating multi-dimensional arrays
  • Jagged arrays



Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License