✏️ Code CompletionJV Java Medium⚡+20 XP
Enhanced For Loop
Complete the enhanced for loop.
✏️ Fill in the blank
List<String> names = Arrays.asList("Alice", "Bob");
___ (String name : names) {
System.out.println(name);
}Complete the enhanced for loop.
List<String> names = Arrays.asList("Alice", "Bob");
___ (String name : names) {
System.out.println(name);
}