Limited access

Upgrade to access all content for this subject

With respect to the loop in the following method, what is missing?

 public void hello()
 {
    int loopCount;
    while (loopCount <= 8)
    {
         System.out.println("hi");
         loopCount++;
    }
 }
A

The initialization of the loop control variable.

B

The incrementation of the loop control variable.

C

The testing of the condition of the loop control variable.

D

The declaration of the loop control variable.

E

Nothing is missing.

Select an assignment template