Skip to content

Fix grammar #78

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/boxed_primitives.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]


Expand Down
2 changes: 1 addition & 1 deletion src/boxed_primitives/boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
~}
4 changes: 2 additions & 2 deletions src/boxed_primitives/challenges.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand All @@ -50,7 +50,7 @@ void printDistances(Integer[] distances) {
}

void main() {
printNames(new String[] {
printDistances(new Integer[] {
45,
99,
23
Expand Down
2 changes: 1 addition & 1 deletion src/boxed_primitives/character.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down