mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
improve code space gap in why-there-only-value-passing-in-java.md
This commit is contained in:
parent
c554ff79fe
commit
b47052c737
@ -26,7 +26,7 @@ String hello = "Hello!";
|
|||||||
sayHello(hello);
|
sayHello(hello);
|
||||||
// str 为形参
|
// str 为形参
|
||||||
void sayHello(String str) {
|
void sayHello(String str) {
|
||||||
System.out.println(str);
|
System.out.println(str);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user