How do you use array length in Java?