There was an error while loading. Please reload this page.
1 parent 79437de commit 47d278aCopy full SHA for 47d278a
1 file changed
source/ch8_filehandling.ptx
@@ -374,7 +374,10 @@ public class CreateFile {
374
375
</pre>
376
</datafile>
377
- <program xml:id="file-write-full-java" interactive="activecode" language="java" add-files = "data-file-write-full-java">
+ </data>
378
+
379
+ <listing xml:id="file-write-full-java">
380
+ <program interactive="activecode" language="java" add-files = "data-file-write-full-java">
381
<code>
382
import java.io.FileWriter;
383
import java.io.IOException;
@@ -394,7 +397,8 @@ public class CreateFile {
394
397
}
395
398
</code>
396
399
</program>
- </data>
400
+ </listing>
401
402
403
<note>
404
<p>
0 commit comments