fix(curriculum): correct language identifier for Java code block (#62916)

This commit is contained in:
Diem-Trang Pham
2025-10-20 22:54:17 -05:00
committed by GitHub
parent d8d217685d
commit 7e0d90bc4d
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ For instance, if you declare a variable as `integer`, you can only assign it int
Here's an example in Java language:
```js
```java
int value = 42; // value must always be an integer
value = "Hello"; // This would cause an error in Java
```

View File

@@ -182,7 +182,7 @@ error = "Not Found"; // JavaScript now treats error as a string
- Other languages, like Java, that are not dynamically typed would result in an error:
```js
```java
int error = 404; // value must always be an integer
error = "Not Found"; // This would cause an error in Java
```

View File

@@ -185,7 +185,7 @@ error = "Not Found"; // JavaScript now treats error as a string
- Other languages, like Java, that are not dynamically typed would result in an error:
```js
```java
int error = 404; // value must always be an integer
error = "Not Found"; // This would cause an error in Java
```