tutorial 1: introduction to objects and arrays
watch it on YouTube
Notes
- objects can have properties--values that they contain
and methods--actions that they perform
- user-defined objects allow for intuitive naming of
structures and flexible function of structures
- arrays can be initialized with a for
loop.
- arrays can be multi-dimensional (but we're not covering an example
of that in this class)
Definitions
- object
- complex data type that is defined with multiple
components that can be of any data type
- array
- a type of object that uses integers to index members of the
structure