The correct syntax for a for-each loop in Java is for (int i : array) {}, where i is the variable that represents the current element in the array, and array is the collection or array being iterated over. This syntax allows for a concise and readable way to traverse through all elements of the array without the need for explicit index management. The for-each loop iterates over each element in the array, assigning the current element to the variable i for the duration of each iteration. This eliminates the need for initialization, condition checking, and incrementing the index, which are necessary in traditional for loops. This loop is particularly useful for operations where the index is not required, such as summing values, printing elements, or applying transformations. By using this straightforward syntax, developers can write cleaner and more maintainable code. As such, the for-each loop is widely regarded as a powerful feature of the Java programming language that enhances productivity and reduces potential bugs.