Array Length « Array « Ruby





1.Use the array's built-in length method, which returns the number of elements in the array