How to get the length of an ArrayList in Java

How to get the length of an ArrayList in Java