Skip to content

Commit c2a03c1

Browse files
melonpankahgoh
andauthored
Apply suggestions from code review
Co-authored-by: Kah Goh <[email protected]>
1 parent c39cad8 commit c2a03c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

concepts/arrays/about.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ int secondElement = twoInts[1];
4444
Accessing an index that is outside of the valid indexes for the array results in an `IndexOutOfBoundsException`.
4545

4646
Arrays can be manipulated by either calling an array instance's methods or properties, or by using the static methods defined in the `Arrays` class (typically only used in generic code).
47-
Java has a built-in `length` property that returns the length of an array, which can be accessed like this:
47+
The `length` property holds the length of an array.
48+
It can be accessed like this:
4849

4950
```java
5051
int arrayLength = someArray.length;

0 commit comments

Comments
 (0)