🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ��һ��������

#23130
From: �����ơ��������λλ�
Date: Thu, 14 Aug 2003 09:42
37 lines
1663 bytes
�������ڡ�arrayDog = new Dog[3]�����ָ�ֵ����ʼ�������Ӧ�ڷ����ڲ�д������ֱ
���������Զ���ʱ��ֵ��

���齫������ࣺ
class ArrayOfObject
{
    Dog[] arrayDog;
    arrayDog = new Dog[3];
    public static void main(String[] args)
    {
    }
}
�����¸Ķ���
class ArrayOfObject
{
    Dog[] arrayDog��new Dog[3];
    public static void main(String[] args)
    {
    }
}
  

�� �� airpor (��������) �Ĵ������ᵽ: ��
: class Dog
: {
:     Dog()
:     {
:         System.out.println("Dog");
:     }
: }
: class ArrayOfObject
: {
:     Dog[] arrayDog;
: .................������ʡ�ԣ�

--
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.19.9]
Technical Details
Message-ID: <47eO2e$AWG@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,8b16973798e8cc62
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-14 02:46:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!SJTU
From: pwlazy.bbs@bbs.sjtu.edu.cn ( �����ơ��������λλ�)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ��һ��������
Date: 14 Aug 2003 09:42:31 GMT
Organization: ��ˮ˼Դ
Message-ID: <47eO2e$AWG@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1060853896.A
Lines: 37