project12 - complete

This commit is contained in:
2025-12-07 23:31:41 -05:00
parent 6bafaa8443
commit 4e8169508a
8 changed files with 551 additions and 4 deletions

View File

@@ -14,9 +14,12 @@ class Array {
/** Constructs a new Array of the given size. */
function Array new(int size) {
return Memory.alloc(size);
}
/** Disposes this array. */
method void dispose() {
do Memory.deAlloc(this);
return;
}
}