9. 11. 23. Checking Size: public int size(), public boolean isEmpty()
import java.util.Arrays; import java.util.List; public class MainClass { public static void main(String[] a) {
List list = Arrays.asList(new String[] { "A", "B", "C", "D" });
System.out.println(list.size());
System.out.println(list.isEmpty());
}
}