The correct answer is Option C. arr.length
The maximum number of elements that an array in Java can have is known as the array length. The way to determine an array's length is not standardised. The array attribute length in Java can be used to determine the length of an array. This attribute is used along with the array name. This section teaches us how to determine an array's length or size in Java.
int[] arr=new int[5];
int arrayLength=arr.length
To know more about Array Length in Java Refer to :
https://brainly.com/question/28061186
#SPJ4