I would like to ask you guys a question. You see, I know what a for-loop is for but can someone please maybe explain how one works, just to help me get my head around it, an example is:
for(int i = 0; i < 10; i++) { System.out.println("hello"); } Now obviously that will just print Hello 10 times into the console but that's besides the point, I want to know how the for-loop works.
Sorry if i have confused anyone asking this - Shaun
forconstruct in Java, not about iteration as a concept.