Article View: cn.bbs.comp.lang.java
Article #24185Re: �����һ������ɶ�÷���
From: Hong Zhu
Date: Thu, 16 Apr 1998 00:00
Date: Thu, 16 Apr 1998 00:00
39 lines
1567 bytes
1567 bytes
�������?
dong123 wrote:
> ��!���java:
> ������÷��Ҳ���,�����һ������ɶ��?��ʱ����������?
> ���������Ի�е��ҵ������<<Visual J++ �������>> page.144--page.145)
>
> public class wordprocessor extends Object
> {
> String filename;
> .............
>
> void save(String filename)
> {
> .........
> readfile = new readfile(filename);
> .........
> }
>
> public statics void main(String args[])
> {
> wordprocessor myprogram = new wordprocessor();
> myprogram.save(args[0]);
> }
> }
>
> class readfile extends wordprocess
> {
> ............
> readfile(String s)
> {
> .........
> }
> }
>
> �Ҳ����ĵط�����readfile����wordprocess����,����wordprocess�еķ���save���
> ����ʵ��һ����δ�������������?
Technical Details
Message-ID:
<35356D50.11A9403@online.sh.cn>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6b3ukq$6em$1@clinux.ml.org>Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,6b71ec5cf0cc2614 X-Google-Attributes: gidf6cb0,public From: Hong Zhu <hongzb@online.sh.cn> Subject: Re: �����һ������ɶ�÷��� Date: 1998/04/16 Message-ID: <35356D50.11A9403@online.sh.cn> X-Deja-AN: 344537514 Content-Transfer-Encoding: 8bit References: <6b3ukq$6em$1@clinux.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Organization: gzdcb Newsgroups: cn.bbs.comp.lang.java