Skip to content

Commit 2b3c9ef

Browse files
committed
fixed a deleted paragraph
1 parent 3134fb3 commit 2b3c9ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/ch4_conditionals.ptx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ if score >= 90:
2626
</program>
2727
</listing>
2828

29+
2930
<p>
31+
In Java, this same pattern requires two changes: the condition must be in parentheses <c>()</c>, and the code block must be enclosed in curly braces <c>{}</c>.
3032
<xref ref="java-simple-if" text="type-global"/> shows how the simple <c>if</c> statement is written in Java.
3133
</p>
3234
<listing xml:id="java-simple-if">

0 commit comments

Comments
 (0)