From 2afb760867e97f8e5bc0bf85e1c261ceeae00b12 Mon Sep 17 00:00:00 2001 From: Ben Henshaw <33325217+Halophilus@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:36:45 -0400 Subject: [PATCH] Update initialization_with_size.md (#55) --- 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.