Skip to content

Commit 9cd09de

Browse files
authored
Merge pull request #368 from davidullo/my-contribution-davidullo
Added a missing space between two words
2 parents 8535175 + 207e999 commit 9cd09de

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
@@ -890,7 +890,7 @@ When the variable `number` is incremented inside the method, there's no issue. T
890890
891891
<!-- Parametri `luku` kopioidaan metodin käyttöön, eli metodia `kasvataKolmella` varten luodaan oma muuttuja nimeltä `luku`, johon pääohjelmassa olevan muuttujan `luku` arvo kopioidaan metodikutsun yhteydessä. Metodissa `kasvataKolmella` oleva muuttuja `luku` on olemassa vain metodin suorituksen ajan, eikä sillä ole yhteyttä pääohjelman samannimiseen muuttujaan. -->
892892

893-
The parameter `number` is copied for the method's use, i.e., a new variable called `number` is created for `incrementByThree` method, to which the value of the variable`number` in the main program is copied during the method call. The variable `number` inside the method `incrementByThree` exists only for the duration of the method's execution and has no relation to the variable of the same name in the main program.
893+
The parameter `number` is copied for the method's use, i.e., a new variable called `number` is created for `incrementByThree` method, to which the value of the variable `number` in the main program is copied during the method call. The variable `number` inside the method `incrementByThree` exists only for the duration of the method's execution and has no relation to the variable of the same name in the main program.
894894

895895

896896
<quiz id="1ec65f26-f66e-55d9-aa22-5a36ae9e3484"></quiz>

0 commit comments

Comments
 (0)