Java Programming with Eclipse lesson 7 – While loop, incrementing a variable

In this lesson we use a while loop to repeat calling a method until a condition is met. We also show you how to increment the value in a variable as well as how to output to the screen a string and an integer variable.