This step creates an actual array object on the heap memory with the specified size i.e.) number of elements this array will hold. Size must be a positive integer value. This is done using new [...]
This is the second method for declaring, creating and initializing an array object in one line. Primitive How this works? Declares a double array reference variable named studentAvgs; Creates a [...]