🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ���ͨ�����������һ���ࣿ

#21787
From: ��~guliguli~��
Date: Thu, 13 Nov 2003 03:37
26 lines
2807 bytes
����һ��ģ��.java
public class ##CLASS_NAME##{
  ##VAR_TYPE## ##VAR_NAME##
}
Ȼ�����Ǹ�defineNewClass�ķ������ǽ����ģ�������##...##�ĵ�
����������Ҫ��̬����Ķ�����Ȼ������Class.forName()������̬����
��Ȼ�������㻹Ҫ����һ��
�� �� zxylonely@bbs.pku.edu.cn (zxylonely) �Ĵ������ᵽ: ��
: ��ͨ�����������һ����(�������ֻ��һ������)
: ������IJ������
:  ( ����Classname, ��������variableType,������varialbeName)
: ���蹹����ķ���Ϊ
: defineNewClass��String Classname, String variableType,String variableName��
: {
:  //��������αࣿ��
:    }


--
 ���רs����  �� ������   �贈����    �� ��        ��     �贈  ���r   �������r
 ���贈���  �� �ǩ���   ����      ���� �ǩ�  ���ߩߩߩ� �����r���� ��      ��
 �q��q��s  �� �ǩ���   �t�贈    ���� �ǩ�    ������   �ǩ��ϩ��� ����������
 ��������    �� ������     ��      ���� �ǩ�  �����贈�� �ǩ��ϩ��s ����������
 ���s  �t��  ��  ������  ���ߩ���    �� ��    ��  ��  �� ��  ����   ��      ��
                                                  ��                          
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 211.80.52.71]
Technical Details
Message-ID: <49FIl2$AOS@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,a8e12d98702d8173
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-11-12 19:36:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: simeon.bbs@bbs.sjtu.edu.cn (��~guliguli~��)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���ͨ�����������һ���ࣿ
Date: 13 Nov 2003 03:37:19 GMT
Organization: ��ˮ˼Դ
Message-ID: <49FIl2$AOS@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1068694226.A
Lines: 26