Flashcards for Java Keywords. Initial definitions from the Wikipedia for Java keywords as pointed to in Lesson 2 of the Wikiversity introductory Java course. Please do not change them without a clear understanding that there is an error present. Consider discussing the error with others either here or at Wikipedia prior to changing the definitions here on the master flashcard file. Forking and tailoring is encouraged if you wish to personalize the definitions.
If you prefer to study a glossary style presentation see the definitions at Wikipedia for Java keywords.
Another set of Java Flashcards is available that provides the keyword and challenges you to think of the conceptual definition before checking the answer. More Java keyword flashcards
Read the definitions and then decide the appropriate Java Keyword. Click Expand for the Java keyword for the concept defined to appear.
- Used to declare a loop that iterates a block of statements. The loop's exit condition is specified as part of the while statement. If
while
appears before the body of the loop, the exit condition is evaluated before the first iteration. Ifwhile
appears after the loop body then thedo
keyword designates the beginning of the loop body which is executed once before evaluating the exit condition.