Print a list without all the empty elements of the list
I would like to know if there is a fast way to print all the not empty elements of a string list in Java. Currently, this is my code and it works, but I would like to know if there is another, shorter way to do it. That means without creating a "cloned list" from… Read More Print a list without all the empty elements of the list