Skip to content

Commit 8535175

Browse files
committed
Fix typo
1 parent 0ae82f0 commit 8535175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/part-1/4-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ The variable is then referenced again by its name in the program -- we again wan
320320

321321
<!-- Kun muuttujan tyyppi on kertaalleen määritelty, ei sitä voi enää muuttaa. Totuusarvoa ei siis voi esimerkiksi asettaa kokonaislukutyyppiseen muuttujaan, eikä totuusarvomuuttujaan voi asettaa kokonaislukua. -->
322322

323-
Once a variable's type has been declared, it can no longer be changed. For example, a boolean value cannot be assigned to a variable of the integer type, nor can an integer be assigned to a variable of the boolean tpe.
323+
Once a variable's type has been declared, it can no longer be changed. For example, a boolean value cannot be assigned to a variable of the integer type, nor can an integer be assigned to a variable of the boolean type.
324324

325325
<!-- ```java
326326
boolean onnistuukoKokonaisLuvunAsetus = false;

0 commit comments

Comments
 (0)