what is 2 dimensional array?
Answers
Answered by
2
Two-dimensional Arrays. ... A 2D array has a type such as into or String with two pairs of square brackets. The elements of a 2Darray are arranged in rows and columns, and the new operator for 2D arrays specifies both the number of rows and the number of columns. For example, into A; A = new int[3] [4];
please mark my answer as a brainliest
please mark my answer as a brainliest
cutiejha:
thank you
Answered by
1
ʜɪɪ..... ғʀɴᴅ!! ʜᴇʀᴇ ɪs ᴜʀ ᴀɴs
2-ᴅɪᴍᴇɴsɪᴀʟ ᴀʀʀᴀʏ ᴘʀᴏᴠɪᴅᴇ ᴍᴏsᴛ ᴏғ ᴛʜɪs ᴄᴀᴘᴀʙɪʟɪᴛʏ. ʟɪᴋᴇ ᴀ 1ᴅ ᴀʀʀᴀʏ, ᴀ 2ᴅ ᴀʀʀᴀʏ ɪs ᴀ ᴄᴏʟʟᴇᴄᴛɪᴏɴ ᴏғ ᴅᴀᴛᴀ ᴄᴇʟʟs, ᴀʟʟ ᴏғ ᴛʜᴇ sᴀᴍᴇ ᴛʏᴘᴇ, ᴡʜɪᴄʜ ᴄᴀɴ ʙᴇ ɢɪᴠᴇɴ ᴀ sɪɴɢʟᴇ ɴᴀᴍᴇ. ʜᴏᴡᴇᴠᴇʀ, 2ᴅ ᴀʀʀᴀʏ ɪs ᴏʀɢᴀɴɪsᴇᴅ ᴀs ᴀ ᴍᴀᴛʀɪx ᴡɪᴛʜ ᴀ ɴᴜᴍʙᴇʀ ᴏғ ʀᴏᴡs ᴀɴᴅ ᴄᴏʟᴜᴍɴs.
ʜᴏᴘᴇ ɪᴛ ʜᴇʟᴘs!!
2-ᴅɪᴍᴇɴsɪᴀʟ ᴀʀʀᴀʏ ᴘʀᴏᴠɪᴅᴇ ᴍᴏsᴛ ᴏғ ᴛʜɪs ᴄᴀᴘᴀʙɪʟɪᴛʏ. ʟɪᴋᴇ ᴀ 1ᴅ ᴀʀʀᴀʏ, ᴀ 2ᴅ ᴀʀʀᴀʏ ɪs ᴀ ᴄᴏʟʟᴇᴄᴛɪᴏɴ ᴏғ ᴅᴀᴛᴀ ᴄᴇʟʟs, ᴀʟʟ ᴏғ ᴛʜᴇ sᴀᴍᴇ ᴛʏᴘᴇ, ᴡʜɪᴄʜ ᴄᴀɴ ʙᴇ ɢɪᴠᴇɴ ᴀ sɪɴɢʟᴇ ɴᴀᴍᴇ. ʜᴏᴡᴇᴠᴇʀ, 2ᴅ ᴀʀʀᴀʏ ɪs ᴏʀɢᴀɴɪsᴇᴅ ᴀs ᴀ ᴍᴀᴛʀɪx ᴡɪᴛʜ ᴀ ɴᴜᴍʙᴇʀ ᴏғ ʀᴏᴡs ᴀɴᴅ ᴄᴏʟᴜᴍɴs.
ʜᴏᴘᴇ ɪᴛ ʜᴇʟᴘs!!
Similar questions