From 56bbba6dfbd79ce471cc74d6daf419d193d8df54 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 10 Jul 2025 00:58:49 -0700 Subject: [PATCH 1/4] Fix grammar --- src/boxed_primitives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boxed_primitives.md b/src/boxed_primitives.md index d28e978..90e5947 100644 --- a/src/boxed_primitives.md +++ b/src/boxed_primitives.md @@ -24,7 +24,7 @@ void main() { } ``` -We call these primitives which might be null "Boxed Primitives" because you they are made by taking +We call these primitives which might be null "Boxed Primitives" because they are made by taking the underlying thing and putting it in a "box."[^boxing] From f96c9bd778ba29239c3d4f1b082fece1f7145df8 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 10 Jul 2025 01:05:16 -0700 Subject: [PATCH 2/4] Fix grammar --- src/boxed_primitives/character.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boxed_primitives/character.md b/src/boxed_primitives/character.md index 75c8493..acd43d3 100644 --- a/src/boxed_primitives/character.md +++ b/src/boxed_primitives/character.md @@ -11,7 +11,7 @@ System.out.println(c); ~} ``` -Unlike a `char[]`, a `Character[]` will not be have its contents +Unlike a `char[]`, a `Character[]` will not have its contents shown when printed. ```java From 7c42dcbc17c803ffca3ca99b755026ca87996b0e Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 10 Jul 2025 01:07:02 -0700 Subject: [PATCH 3/4] Fix grammar --- src/boxed_primitives/boolean.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boxed_primitives/boolean.md b/src/boxed_primitives/boolean.md index 2de4fc6..49e68ea 100644 --- a/src/boxed_primitives/boolean.md +++ b/src/boxed_primitives/boolean.md @@ -8,5 +8,5 @@ The type to use for a `boolean` that might be null is `Boolean`. Boolean b = null; System.out.println(b); b = true; -System.out.println(true); +System.out.println(b); ~} \ No newline at end of file From ba0dcd24d10b1553aa1f616a4bd5e34b50866471 Mon Sep 17 00:00:00 2001 From: zohairawan <35776095+zohairawan@users.noreply.github.com> Date: Thu, 10 Jul 2025 01:50:47 -0700 Subject: [PATCH 4/4] Fix grammar and code challenge --- src/boxed_primitives/challenges.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boxed_primitives/challenges.md b/src/boxed_primitives/challenges.md index e44312c..d0506c4 100644 --- a/src/boxed_primitives/challenges.md +++ b/src/boxed_primitives/challenges.md @@ -28,7 +28,7 @@ void main() { ## Challenge 2. -Write a method which takes in a `Integer[]` representing +Write a method which takes in an `Integer[]` representing a series of distances and prints out every distance followed by ` kilometers`. @@ -50,7 +50,7 @@ void printDistances(Integer[] distances) { } void main() { - printNames(new String[] { + printDistances(new Integer[] { 45, 99, 23 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy