File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ Strictly speaking the main program (`main`) itself is a method. When the program
228228
229229<!-- Tee metodi `tulostaTeksti`, joka tulostaa tekstin "Alussa olivat suo, kuokka ja Java." sekä rivinvaihdon. -->
230230
231- Create a method called ` printPhrase ` which prints the phrase "In a hole in the ground there lived a method" and a newline.
231+ Create a method called ` printText ` which prints the phrase "In a hole in the ground there lived a method" and a newline.
232232
233233<!-- ```java
234234public static void main(String[] args) {
@@ -242,10 +242,10 @@ public static void tulostaTeksti() {
242242
243243``` java
244244public static void main(String [] args) {
245- printPhrase ();
245+ printText ();
246246}
247247
248- public static void printPhrase () {
248+ public static void printText () {
249249 // Write some code in here
250250}
251251```
@@ -295,7 +295,7 @@ public static void main(String[] args) {
295295 // use the while command to call the method a suitable number of times
296296}
297297
298- public static void printPhrase () {
298+ public static void printText () {
299299 // write some code in here
300300}
301301```
You can’t perform that action at this time.
0 commit comments