APCS Ch 6: Arrays Basics

Arrays are basically lists of things. This list can contain both objects and primitive data. The basic array can be declared and instantiated as such: (data type)[ ] (arrayname) = new (data type) [(number of elements)]; Since arrays are considered as objects, the declaration and instantiation follow the pattern of other objects. So, if I... Continue Reading →

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: