🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12282

����һ��JAVA����

#12282
From: �ٲ�ѧϰ��û���԰� �Ҷ��� �
Date: Tue, 03 Aug 2004 00:31
40 lines
1694 bytes
С�ܸ���ѧ 
û����� ���Ϻ��æ
�����Ǽ򵥵�һ������
��ô����ʱ����
 [I@1858610
[I@12498b5
[I@1a5ab41
[I@18e3e60


public class Array2D{
    public static void main(String[] args){
        int i;
        int [][] twoD=new int[4][];
        int [] array1 ={1,2,3,4};
        int [] array2 ={1,2,3,4,5};
        int [] array3 ={1,2,3,4,5,6};
        int [] array4 ={1,2,3,4,5,6,7};

        twoD[0] = array1;
        twoD[1] = array2;
        twoD[2] = array3;
        twoD[3] = array4;

        for(i=0;i<4;i++)
            System.out.println(twoD[i]);
    }
}


--
��һ���ڳ��Ÿߴ��ʵ�,
��Ϊ��õ��Ժպ���ҫ,
ֻ������û��ͬ�������,��û����е��ֺ�.
�ұ��뱣�ָ߰�������,��ϧ���踺��
����������Ⱥɽ֮�������ߵ���,
˭�ܿ����������΢Ц.

�� ��Դ:���Ұ��Ͽ�վ nkbbs.org ��Web[FROM: 218.72.18.106]
Technical Details
Message-ID: <4DTQFb$9yH@bbs.nankai.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!netnews.sdu.edu.cn!news2.happynet.org!NanKai

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,15725eeb9cb12e37,start
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!netnews.sdu.edu.cn!news2.happynet.org!NanKai
From: linzht.bbs@bbs.nankai.edu.cn (�ٲ�ѧϰ��û���԰�  �Ҷ���  �)
Newsgroups: cn.bbs.comp.lang.java
Subject: ����һ��JAVA����
Date: 03 Aug 2004 00:31:49 GMT
Organization: �Ұ��Ͽ�վ
Message-ID: <4DTQFb$9yH@bbs.nankai.edu.cn>
X-Filename: Java/M.1091493109.A
Lines: 40