oneElement
Objective(s): Practice writing values to an array position.
Create an integer array of length 1. Write the value 7.
Need help with the syntax?
type[] nameOfArray = new type[size];
remember size is the number of elements and NOT the index
Arrays provide a way to store and access multiple values of the same type, but technically you can have a 0 or 1 length array.
Type your solution
Skills Practiced:
3.D
4.A
4.B
Saved
Saved