To represent lesson “L3 - Selection and repetition constructs in Java - You will be able to Design and implement selections constructs using 'if' and 'if-else' statements” I have chosen the following reference site and snippet of code from the program in the assignment. In the referenced website: http://java.sun.com/docs/books/jls/third_edition/html/statements.html , section 14.9 states that: “ The if statement allows conditional execution of a statement or a conditional choice of two statements, executing one or the other but not both. IfThenStatement: if ( Expression ) Statement
This is the end of the preview.
access the rest of the document.