What is the difference between a traditional `for` loop and an enhanced `for` loop in Java?
The traditional loop is used for more complex operations, and the enhanced loop is simpler but has limitations like no access to the index.
You're on the right track, but there's more to the differences. The enhanced `for` loop is used specifically for iterating through arrays and collections.
Can you explain why the traditional `for` loop might be preferred when you need to modify elements at specific indices?