#2d - Questions and answers
4 questions1 pages20 questions on this page
0 points
EN
How can I convert 2D array to an object? Let's say I have the following array of key/value pairs: and the result I want to get is:
0 points
EN
How can I convert a simple array into 2D array? Let's say I have the following array: and I want to convert it to the 3x3 matrix like: Number of rows and columns of the matrix should be changeable.
0 points
EN
How can I use push() with multidimensional array? I've got something like that: but it gives me unexpected result, all I can see is: []. What am I doing wrong?
0 points
EN
How can I print nested (2D) array? I tried Arrays.toString() method but I got the following result: My code:
4 item(s), 1 page(s), 4 item(s) on this page.
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join