What this code print if the input list is (3,44)

Viewed 33

What this code print if the input list is (3,44)

public String getString(List <Integer> list ){
        return list.stream()
             .map(I->i%2 == 0 ? "e" +i : "o"+i)
             .collect(joining(","));
    }
0 Answers
Related