OK .... now we will start again in learnjavaprogram. This time related to the keyword while. Keyword in the previous 2 while there are:
While and Do-While
WHILE -> the process of looping with a particular selection, where during the process of looping the loop true value will continue to run.
syntax
See above there is a (var_selection), a variable that will hold the selection in the loop when walking. During var_selection values is correct, then in block akan While the execution.
The Example Program WHILE
Control Structure WHILE
DO-WHILE -> looping process used is at least 1 time the localization.
syntax
statement in the block Do-While dikerjakan first time, and after that selection occurs in the keyword while. TRUE if the statement will then be reset, otherwise if FALSE exit from the loop.
The Example Program DO-While
Control Structure DO-While
Monday, August 10, 2009
8:38 AM
Java home
No comments
0 comments:
Post a Comment