Quantcast
Channel: Search Results For: domain:java-demos.blogspot.in
Viewing all articles
Browse latest Browse all 23

Copy 1D Array to 2D Array Easily

$
0
0

In this example, i'll show you how to copy a 1-D array into 2-D array in Java. Here is a simple logic that does the task. The task is to create a matrix of certain number of rows and columns which will be filled with the values of a single dimensional array. Here are two cases.


Viewing all articles
Browse latest Browse all 23

Trending Articles