Skip to content

Commit 9430ba8

Browse files
authored
Merge branch 'main' into patch-1
2 parents 36d81a4 + b7505e4 commit 9430ba8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

concepts/arrays/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# About Arrays
22

3-
In Java, data structures that can hold zero or more elements are known as _collections_.
4-
An **array** is a collection that has a fixed size and whose elements must all be of the same type.
3+
In Java, arrays are a way to store multiple values of the same type in a single structure.
4+
Unlike other data structures, arrays have a fixed size once created.
55
Elements can be assigned to an array or retrieved from it using an index.
66
Java arrays use zero-based indexing: the first element's index is 0, the second element's index is 1, etc.
77

concepts/arrays/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction to Arrays
22

3-
In Java, data structures that can hold zero or more elements are known as _collections_.
4-
An **array** is a collection that has a fixed size and whose elements must all be of the same type.
3+
In Java, arrays are a way to store multiple values of the same type in a single structure.
4+
Unlike other data structures, arrays have a fixed size once created.
55
Elements can be assigned to an array or retrieved from it using an index.
66
Java arrays use zero-based indexing: the first element's index is 0, the second element's index is 1, etc.
77

exercises/concept/bird-watcher/.docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Arrays
44

5-
In Java, data structures that can hold zero or more elements are known as _collections_.
6-
An **array** is a collection that has a fixed size and whose elements must all be of the same type.
5+
In Java, arrays are a way to store multiple values of the same type in a single structure.
6+
Unlike other data structures, arrays have a fixed size once created.
77
Elements can be assigned to an array or retrieved from it using an index.
88
Java arrays use zero-based indexing: the first element's index is 0, the second element's index is 1, etc.
99

0 commit comments

Comments
 (0)