Sollicitatievraag bij EPAM Systems

Q: print in one line the values of a map public static void main(String[] args) { Map<Integer, String> map = new HashMap<>(); map.put(1, "One"); map.put(2, "Two");

Antwoorden op sollicitatievragen

Anoniem

28 apr 2021

for(Map.Entry m : map.entrySet()){ system.out.println( m.getKey()+" "+m.getValue());

29

Anoniem

3 jun 2022

map.forEach((key, value ) -> System.out.println(key+"--"+value));

1

Anoniem

28 feb 2021

There's quite an extended back and forth in actual interviews for questions like this, so there's no real replacement for actual practice. The Prepfully EPAM Systems Test Automation Engineer experts have actually worked in this role, so they're able to do a propermock, which really puts you through the paces and lets you assess your readiness level. prepfully.com/practice-interviews

2