java```
int size = 0;
while (statement) {
    // do something
}
```