Statements

Keywords

Submitted by GeePee on
Introduction: This page will talk about Java keywords including Return, Public, Private, Static and Case. What are keywords? The keywords in Java are used to serve a certain purpose (depending on which keyword is used). Not all keywords are used in the same places and some are bound to certain statements. Consistencies The only thing these keywords have in common is that when they are used, they must be in complete lower case.

Do-While Statements

Submitted by GeePee on
Introduction: This page will teach you how to use the Do-While statements in Java. Important! It is fairly important you understand the While Statement before reading this tutorial page. It can be found on the main Java Tutorial Thread page. What is a Do-While Statement? A Do-While Statement is very similar to a While Statement, with one exception.

While Statements

Submitted by GeePee on
Introduction: This page will show you how to use the While statement. What is the While statement? The While statement is used to run a block of code/script constantly until its conditions become false. When is a While statement used? A while statement is great for multi-tasking in programs, for example; while the character is moving in a game it should run a script to update the screen graphics/player co-ordinates or location. How to make a While statement: To make a While statement there are only two things you need to th