Skip to content

Commit 5f58071

Browse files
authored
Merge pull request Snailclimb#797 from codeyu/patch-1
fix typo: falgs->flags
2 parents fafe691 + 571f0a2 commit 5f58071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/Java基础知识.md

Lines changed: 1 addition & 1 deletion
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)