Domanda di colloquio di Amdocs

How to skip blanks in the list of strings using Java 8

Risposta di colloquio

Anonimo

12 gen 2022

After I showed him the way using Java 8 filters, he showed me that there is one method to remove - list.removeIf Reality is he created list by using Arrays.aslist In this list got created but it’s of package Java.lang not Java.util For list In Java lang package the method removeIf doesn’t work