Which of the following is used to determine the length of an array in Java?

Last Updated :
Discuss
Comments

Which of the following is used to determine the length of an array in Java?

arr.length();

arr.size;

arr.length;

arr.count();

Share your thoughts in the comments