Skip to content

Commit 7b0f350

Browse files
authored
Fix arr.length in example & point to Java 25 docs (exercism#3114)
Co-Authored-By: bull1210 <bull1210@gmail.com>
1 parent eaba04e commit 7b0f350

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

concepts/nullability/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Whilst accessing a reference variable which has a value of `null` will compile f
2828
int[] arr = null;
2929

3030
// Throws NullPointerException at runtime
31-
arr.Length;
31+
arr.length;
3232
```
3333

3434
A [`NullPointerException` is thrown][null-pointer-exception] when trying to access a reference variable which is null but requires an object.

docs/RESOURCES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
- [Stack Overflow](http://stackoverflow.com/questions/tagged/java).
44
- [The Java subreddit](https://www.reddit.com/r/java)
5-
- [Official Java documentation](https://docs.oracle.com/en/java/javase/11/docs/api/index.html)
5+
- [Official Java documentation](https://docs.oracle.com/en/java/javase/25/docs/api/index.html)
66
- [Java Programming Books](https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-langs.md#java)

0 commit comments

Comments
 (0)