Skip to content

Commit 5d989bc

Browse files
author
Jesper Kuutti
committed
Modified the replacement for suo, kuokka ja Java
1 parent ff10017 commit 5d989bc

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

data/osa-2/4-metodit.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Strictly speaking the main program (`main`) itself is a method. When the program
227227

228228
<!-- Tee metodi `tulostaTeksti`, joka tulostaa tekstin "Alussa olivat suo, kuokka ja Java." sekä rivinvaihdon. -->
229229

230-
Create a method called `printPhrase` which prints the phrase "In a hole in the ground there lived a hobbit" and a newline.
230+
Create a method called `printPhrase` which prints the phrase "In a hole in the ground there lived a method" and a newline.
231231

232232
<!-- ```java
233233
public static void main(String[] args) {
@@ -261,7 +261,7 @@ Alussa olivat suo, kuokka ja Java.
261261

262262
<sample-output>
263263

264-
In a hole in the ground there lived a hobbit
264+
In a hole in the ground there lived a method
265265

266266
</sample-output>
267267

@@ -320,13 +320,13 @@ Alussa olivat suo, kuokka ja Java.
320320

321321
How many?
322322
**7**
323-
In a hole in the ground there lived a hobbit.
324-
In a hole in the ground there lived a hobbit.
325-
In a hole in the ground there lived a hobbit.
326-
In a hole in the ground there lived a hobbit.
327-
In a hole in the ground there lived a hobbit.
328-
In a hole in the ground there lived a hobbit.
329-
In a hole in the ground there lived a hobbit.
323+
In a hole in the ground there lived a method.
324+
In a hole in the ground there lived a method.
325+
In a hole in the ground there lived a method.
326+
In a hole in the ground there lived a method.
327+
In a hole in the ground there lived a method.
328+
In a hole in the ground there lived a method.
329+
In a hole in the ground there lived a method.
330330

331331
</sample-output>
332332

0 commit comments

Comments
 (0)