Skip to content

Commit b2ca8bc

Browse files
committed
fixed a code
1 parent 92c7528 commit b2ca8bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/ch8_filehandling.ptx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474

7575
<p>
76-
We will now create a <c>File</c> object. It is important to create a meaningful name for the <c>File</c> object. We will call ours <c>myFile</c>, and we will call our class <c>CreateFileObject</c>. <xref ref="create-file-object-java" text="text-global"/> shows the code to create a <c>File</c> object in Java.
76+
We will now create a <c>File</c> object. It is important to create a meaningful name for the <c>File</c> object. We will call ours <c>myFile</c>, and we will call our class <c>CreateFileObject</c>. <xref ref="create-file-object-java" text="type-global"/> shows the code to create a <c>File</c> object in Java.
7777
</p>
7878
<listing xml:id="create-file-object-java">
7979
<program interactive="activecode" language="java" add-files="myfile-created">
@@ -104,7 +104,7 @@ public class CreateFile {
104104
</p>
105105

106106
<p>
107-
<xref ref="create-file-python" text="text-global"/> shows the equivalent code to create a file in Python.
107+
<xref ref="create-file-python" text="type-global"/> shows the equivalent code to create a file in Python.
108108
</p>
109109
<listing xml:id="create-file-python">
110110
<program interactive="activecode" language="python">
@@ -124,7 +124,7 @@ public class CreateFile {
124124
</listing>
125125

126126
<p>
127-
<xref ref="create-file-java" text="text-global"/> shows the equivalent code to create a file in Java.
127+
<xref ref="create-file-java" text="type-global"/> shows the equivalent code to create a file in Java.
128128
</p>
129129
<listing xml:id="create-file-java">
130130
<program interactive="activecode" language="java">

0 commit comments

Comments
 (0)