diff --git a/Grade 10/ICS4U1/Class_1.md b/Grade 10/ICS4U1/Class_1.md new file mode 100644 index 0000000..e9b331b --- /dev/null +++ b/Grade 10/ICS4U1/Class_1.md @@ -0,0 +1,38 @@ +# 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 | +