Skip to content

Commit 37789ec

Browse files
committed
add listing to txt
1 parent 7799fe0 commit 37789ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/ch9_commonmistakes.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</program>
8181
</listing>
8282
<p>
83-
The error "';' expected" on line 7 of <c>Histo.java</c> means that a semicolon is missing at the end of the statement <c>Scanner data = null</c>. In Java, every statement must be terminated with a semicolon (<c>;</c>) to indicate its completion. The arrow points to <c>null</c> because that's where the compiler expected to find the semicolon.
83+
The error "';' expected" on line 7 of <c>Histo.java</c> in <xref ref="semicolon-error" text="type-global"/> means that a semicolon is missing at the end of the statement <c>Scanner data = null</c>. In Java, every statement must be terminated with a semicolon (<c>;</c>) to indicate its completion. The arrow points to <c>null</c> because that's where the compiler expected to find the semicolon.
8484
</p>
8585

8686
</section>

0 commit comments

Comments
 (0)