Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea616e1

Browse files
author
haohao
authored
Update README.md
1 parent 6628dc4 commit ea616e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ println(sum2(2,8))
889889
```kotlin
890890
// 高阶函数,即一个函数可作为高阶函数的参数
891891
fun superFunc(desc: String?, method: () -> String) {
892-
println(desc)
892+
print(desc)
893893
println(method())
894894
}
895895

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /