Introduction to Arrays
Level: Intermediate
Series: Programming Tutorials
Length of video: 25 minutes
Prerequisites: Expressions and Assignments 3
Purpose of tutorial:
This video is part of a series of tutorials that serve as an introduction to programming topics.
The video introduces arrays through the following topics:
* The concept of an array - what is an array? This includes terminology unique to arrays such as base type, array element, subscript, and array length.
* Motivation for using arrays - why use arrays? To explain the use of an array in a program, we discuss how arrays differ from scalar variables.
* Creating an array in Java explains the syntax for declaring an array in Java.
* Accessing an array element or "selection"
Because the focus is on introducing arrays, this presentation is limited to a one-dimensional array.