Java Reference
In-Depth Information
Figure 1.5: If-then decision tree diagram
So far so good! When we need to evaluate a condition we can use “If <condition> then do
something. Generally in most programming languages the statement is closed by a corres-
ponding “End if” clause. But in Java you only close the curly braces “}” after if statement.
Search WWH ::

Custom Search