You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/ch8_filehandling.ptx
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -166,11 +166,11 @@ public class CreateFile {
166
166
Let’s take a look at how we can use Python to understand how read file contents in Java. In order to read files generally you iterate through each line in the file and read the line's content. In Java, you read files in a very similar way, however in Java we will use the <c>Scanner</c> class in order to iterate through the lines.
167
167
</p>
168
168
<p>
169
-
Consider <xrefref="file-read-python"text="type-global"/> that reads each line of <xrefref="myfile-read"text="type-global"/> and prints it to the console.
169
+
Consider <xrefref="file-read-python"text="type-global"/> that reads each line of <xrefref="listing-myfile-read"text="type-global"/> and prints it to the console.
0 commit comments