The first example creates an array of integers with five elements, while the second example creates an array of strings with three initial elements. The third example creates a two-dimensional array with two rows and two columns.
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
No Good?
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!