A good answer might be:

No. The condition is only tested just before execution enters the loop body. Once execution enters the loop body, anything can happen. Of course, the condition will be tested again after the loop body has executed.

Live Code!

Here is some code that illustrates changing the loop control variable by an amount other than one. The user (you) enters the initial value for count and a value for the increment.


//    count and increment set by the user
//
while ( count <= 12 )
{
  System.out.println( "count is:" + count );
  count = count + increment;
}
System.out.println( "Count was " + count 
    + " when it failed the test");
Enter initial value for count:
Enter increment value :

QUESTION 4:

See if you can find an initial value for count other than 12, and a value for increment so that the loop body is only executed once.