Which of these statements displays the length of an array?

array.lengtharray.size

To display an array length we need to use array.length.