how to Insert Array Values Into Separate Rows using java?

Ads
 

how to Insert Array Values Into Separate Rows using java?

how to Insert Array Values Into Separate Rows using java?

View Answers

April 28, 2012 at 12:33 PM

class InsertArrayValuesInSeparateRow{
    public static void main(String[] args) 
    {
        String array[][]={{"1","Angel","Delhi"},{"2","John","Chennai"},{"3","William","Kolkata"},{"4","Martina","Mumbai"}};
        for(int i=0 ; i < array.length ; i++){
            System.out.println();
            for(int j=0 ; j < array[i].length ; j++){
                System.out.print(array[i][j]+"\t");
            }
        }
    }
}

Ads









Related Tutorials/Questions & Answers:
how to Insert Array Values Into Separate Rows using java?
How to insert rows in jTable?
Advertisements
How to insert data from a combobox and textbox values into DB using JSP?
How to insert dynamic textbox values into database using Java?
how to insert array data into sql server using jsp
How to read a rows which have a values in a excel file using apache poi - JSP-Servlet
how to insert a summary values in grid
How to store two integer value in a separate file and retrieve those values
how to insert values from jsp into ms access
How to insert rows from Excel spreadsheet into database by browsing the excel file?
how insert multiple images in mysql database with use of struts 1.3.8 or java method, with single bean,or using array
Facing Problem to insert Multiple Array values in database - JSP-Servlet
difference between java5 and java6 - Java Beginners
fetch and insert multiple rows into mysql database using jsp servlet
Java2
How can we find the number of rows in a result set using PHP?
How to show database values into graph using jsp?
How to show database values into graph using jsp?
Queue implementation using array.
How to extract values from SOAP Response message and insert in database
how to store the REsult Set values in array and loop through it in java?
how to store the REsult Set values in array and loop through it in java?
How to insert and update all column values of database from jtable.
How to insert and update all column values of database from jtable.
about java1
How to create bar chart using database values
how to insert data into database using jsp & retrive
how to store array values into two different tables in java?
how to insert data in database using html+jsp
how to insert data into databasse by using jdbc
how to insert data into databasse by using jdbc

Ads