java - assigning an array to a specific index of another array -


how can assign array "spider" array "visualone" @ index [n][i]? (the last line of code stuck) time!

public class tester1 {    public static void main(string[] args) {     char[] spider = new char[]{'^','@','^'};     int = 0;     int rows = 12;     int columns = 12;     int spoutlength = 12;     int climbheight = 7;     int framespaces = 3;     char[][] visualone = new char[climbheight][spoutlength];     (int n=0;n<(visualone[0].length);n++){         system.out.println();         (i=0; i<visualone.length; i++){             visualone[n][i]={spider};         }     } } 

use: visualone[n] = spider; copy reference of spider nth row of visualone.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -