Skip to content

Commit 571f0a2

Browse files
authored
fix typo: falgs->flags
1 parent 93bbd8b commit 571f0a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/Java基础知识.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Java 中的注释有三种:
219219
>
220220
> ```java
221221
> // check to see if the employee is eligible for full benefits
222-
> if ((employee.falgs & HOURLY_FLAG) && (employee.age > 65))
222+
> if ((employee.flags & HOURLY_FLAG) && (employee.age > 65))
223223
> ```
224224
>
225225
> 应替换为

0 commit comments

Comments
 (0)