Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c0989ab

Browse files
authored
Update java-pass-by.md
Better to understand.
1 parent cb90735 commit c0989ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics/java-basic/java-pass-by.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static void main(String[] args) {
5151
ParamTest pt = new ParamTest();
5252
5353
int i = 10;
54-
pt.pass(10);
54+
pt.pass(i);
5555
System.out.println("print in main , i is " + i);
5656
}
5757

0 commit comments

Comments
 (0)