Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Sep 27, 2024
1 parent 1039ad8 commit 2ea4943
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/arguments/reassignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ any variables passed to the method by the caller.
void eat(String food) {
System.out.println("I ate " + food);
food = "nothing";
System.out.println("Now I have " + food)
System.out.println("Now I have " + food);
}

void main() {
Expand Down
4 changes: 2 additions & 2 deletions src/integers/equality.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ boolean universeBroken = 1 == 2;
System.out.println(universeBroken);

int loneliestNumber = 1;
int otherLonelyNumber = 2;
int canBeAsBadAsOne = 2;

// this will be true
boolean bothLonely = loneliestNumber == (otherLonelyNumber - 1);
boolean bothLonely = loneliestNumber == (canBeAsBadAsOne - 1);
System.out.println(bothLonely);
~}
```
Expand Down
2 changes: 1 addition & 1 deletion src/integers/operator_precedence.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Operator Precedance
# Operator Precedence

Just like boolean operators, `+`, `-`, `*`, `/`, and `%` have a defined precedence order.

Expand Down
2 changes: 1 addition & 1 deletion src/loops_ii/empty_statements.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Empty Statements

You can even leave the statement part of a `for` loop blank. This means that at
the end of an iteration there is nothing guarenteed to run.
the end of an iteration there is nothing guaranteed to run.

```java
~void main() {
Expand Down

0 comments on commit 2ea4943

Please sign in to comment.