Some error occured while loading page for you. Please try again.
One of the most commonly used data structures in Ruby is a Ruby Array, and below we see various methods of initializing a ruby array.
Your task is to initialize three different variables as explained below.
array = Array.new
array = 
array_1 = Array.new(1)
array_1 = [nil]
array_2 = Array.new(2, 10)
array_2 = [10, 10]