#2d - Questions and answers
4 questions,
1 pages,
20 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.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us