1
0
mirror of https://gitlab.com/magicalsoup/Highschool.git synced 2025-01-23 16:11:46 -05:00
highschool/Grade 10/ICS4U1/Class_1.md
2019-09-06 16:03:47 +00:00

649 B

Class 1 notes

Array Review

What is an Array:

  • An (reference) object used to store a list of values
  • A contiguous block of memory is used to store the values.
  • Each cell holds a value
  • All the values are the same type
  • It can store all kinds of data, int, double, object, etc, the type stored can be primitive (int) or reference (object)

Example

index 0 1 2 3 4 5 6 7
value 80 120 103 138 94 109 83 117