1. Using List.size() method. The standard solution to find the number of elements in a Collection in Java is calling its size() method.
確定! 回上一頁