# Create empty 2 dimensional array
# Create empty 2-dimensional array
empty_2d_array = Array.new(3) { Array.new(4) }
Explanation:
- Array.new(3) { Array.new(4) }
: This line creates a new array with three elements. Each element is initialized as a new array with four elements, resulting in a 2-dimensional array with 3 rows and 4 columns.