Skip to content

Commit 2afb760

Browse files
authored
Update initialization_with_size.md (#55)
1 parent fa1d1f5 commit 2afb760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arrays_ii/initialization_with_size.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ boolean[] pixels = new boolean[23040];
1313

1414
So you have to say `new` followed by the type of element in the array, `[`, the size of the array and `]`.
1515

16-
[^bw]: The original GameBoy was just black and white, so a `boolean` works just fine to represent a pixel's state.
16+
[^bw]: The original GameBoy was technically capable of seven shades of gray per pixel, so in this example `boolean` implies a black and white image.

0 commit comments

Comments
 (0)