Results 1 to 4 of 4

Thread: Creating Tables in Java

  1. #1
    Join Date
    Nov 2008
    Posts
    3,952

    Creating Tables in Java

    I can not find the syntax to create several tables (tab1 tab2 tab3 ...) based on a variable:

    Code:
    int temp=5;
    for(int i=0;i<temp;i++){
        int tab+i[] = new int[6];
    }

  2. #2
    Join Date
    May 2008
    Posts
    271

    Re: Creating Tables in Java

    With a 2D table for example? At the same time, what's the use?

  3. #3
    Join Date
    Nov 2008
    Posts
    3,952

    Re: Creating Tables in Java

    in fact any ..

    I may be poorly expressed, in fact I can not find the syntax for a table name in a for loop as above ... you see I want to get more tables named tab1 tab2 tab3. I can do in vb but in java, no

  4. #4
    Join Date
    May 2008
    Posts
    945

    Re: Creating Tables in Java

    And thus, the table of table you can not do. Impossible to make that in Java, you cannot give a name dynamically. With Map<String, int []> you can have a rather close behavior.

Similar Threads

  1. Creating tables for 3D production
    By Tionontati in forum Windows Software
    Replies: 6
    Last Post: 26-05-2010, 12:06 AM
  2. How to Print Tables using Swings in Java?
    By NIcaBoy in forum Software Development
    Replies: 5
    Last Post: 16-02-2010, 02:49 AM
  3. How to use Tables in Java?
    By Rob Dizzle in forum Software Development
    Replies: 4
    Last Post: 11-02-2010, 07:04 AM
  4. Creating partition of database tables
    By LaMarcus in forum Software Development
    Replies: 4
    Last Post: 30-01-2010, 11:48 AM
  5. Reading tables in java.io
    By Miles Runner in forum Software Development
    Replies: 5
    Last Post: 20-01-2010, 10:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,245,291.13037 seconds with 17 queries