10-10-2009, 09:00 AM
Pretty good. But here are some things you can add/improve on;
- Explain the use of the new for loops. For example,
Hopefully you can figure that one out.
- Explain more on the do-while statement. Many people find it difficult to understand for their first time.
- Also, something about the while statement. It can be infinite if its set to,
- Maybe teach them how to make infinite loops using the for statement?
Good job nonetheless.
- Explain the use of the new for loops. For example,
Code:
int[] numbers = {1,2,3,4,5,6,7,8,9,10};
for (int item : numbers) {
System.out.println("Count is: " + item);
}
- Explain more on the do-while statement. Many people find it difficult to understand for their first time.
- Also, something about the while statement. It can be infinite if its set to,
Code:
while (true) {
// execution
}
- Maybe teach them how to make infinite loops using the for statement?
Good job nonetheless.