Access string variable outside for loop in java?
问题 hi folks i want to access a string variable outside for loop, so that i can use it for further coding. Here i am trying to get the values from Jtable and store it in string, to create a database table. The Whole Code is here: http://textuploader.com/?p=6&id=zVEWY Coding : int row = table.getRowCount(); int column = table.getColumnCount(); for (int j = 0; j < row; j++) { for (int i = 0; i < column; i++) { //System.out.println(table.getValueAt(j, i)); String readstr = (String) table.getValueAt