Skip to main content
โœ๏ธ 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);
}

โœ๏ธ Type the missing code:

Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep