Skip to content

Commit 82ea2c6

Browse files
authored
Fix typo - change number1 to number2
1 parent a2696ed commit 82ea2c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/part-2/4-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ public static int sum(int first, int second) {
14151415

14161416
<!-- Nyt pääohjelman muuttujan `luku1` arvo kopioituu metodin parametrin `eka` arvoksi ja pääohjelman muuttujan `luku2` arvo kopioituu metodin parametrin `toka` arvoksi. -->
14171417

1418-
Now the value of the variable `number1` is copied as the value of the method parameter `first`, and the value of the variable `number1` is copied as the value of the parameter `second`.
1418+
Now the value of the variable `number1` is copied as the value of the method parameter `first`, and the value of the variable `number2` is copied as the value of the parameter `second`.
14191419

14201420

14211421
<quiz id="fa98830f-8715-5acb-ae72-aad063574ae0"></quiz>

0 commit comments

Comments
 (0)