From e579eae40be3248a40f01df7c1d8ae8cdd87c1b0 Mon Sep 17 00:00:00 2001 From: Ben Henshaw <33325217+Halophilus@users.noreply.github.com> Date: Thu, 26 Sep 2024 20:50:50 -0400 Subject: [PATCH] Update initialization_with_size.md --- src/arrays_ii/initialization_with_size.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arrays_ii/initialization_with_size.md b/src/arrays_ii/initialization_with_size.md index 463ea05..5535226 100644 --- a/src/arrays_ii/initialization_with_size.md +++ b/src/arrays_ii/initialization_with_size.md @@ -13,4 +13,4 @@ boolean[] pixels = new boolean[23040]; So you have to say `new` followed by the type of element in the array, `[`, the size of the array and `]`. -[^bw]: The original GameBoy was just black and white, so a `boolean` works just fine to represent a pixel's state. \ No newline at end of file +[^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.