- This topic has 1 reply, 2 voices, and was last updated 2 years, 6 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
home-page-new › Forums › Science › Arrays
Tagged: #java
In java arrays are used to store objects of the same type. For example, there could be an array which stores numbers: [0, 1, 2, 3, 4, 5, 6]. Another example is an array storing strings of different colors: [“blue”, “pink”, “green”, “gray”, “brown”, “yellow”, “red”].