BlueJ - Java lesson 8 Array1

Опубликовано: 09 Август 2026
на канале: FO_Coding
21
0

The first two lines are used to initialize the array with a size of 5
The size is fixed and cannot be changed
Next 5 lines are used to add values to an array
The loop will run itself through all array spaces and print out each value from 5 spots
First testing was to show what will be shown if
an value is not added to it
The second test is to show what happens when all the values are added