🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#491
From: ��ң
Date: Thu, 11 Dec 2008 23:35
21 lines
2304 bytes
���û�취������Ҫʵ�������ͼ���ǿ��Եģ�
�㲻��public String getFileName(SubClass param)��ô���壬
�ڽӿ������ж���public String getFileName(BaseClass param)��Ȼ����õ�ʱ����SubClass��������������ˡ�

�� �� barani (�����̶�) �Ĵ������ᵽ: ��
: �ӿ������壬getFileName�����IJ�����ɻ���BaseClass
: public interface FileNameCreator {
:     String getFileName(BaseClass param);
: }
: ��ô��ʵ�ָýӿڵ�ʱ������������,SubClass��BaseClass������
: ...................

--
000008f0h: 01 00 04 10 00 00 00 49 01 00 0C 00 06 00 37 00 ; .......I......7.
00000900h: 00 00 00 00 00 00 00 00 04 00 04 10 00 00 00 4C ; ...............L
00000910h: 6F 76 65 01 00 0C 00 06 00 37 00 00 00 00 00 00 ; ove......7......
00000920h: 00 00 00 04 00 04 10 00 00 00 4A 61 76 61 01 00 ; ..........Java..
00000930h: 0C 00 06 00 37 00 00 00 00 00 00 00 00 00 06 00 ; ....7...........
00000940h: 04 10 00 00 00 73 61 64 6D 61 6E 01 00 0C 00 06 ; .....sadman.....

�� ��Դ:�������ʵBBS bbs.tju.edu.cn��[FROM: 59.67.33.163]
Technical Details
Message-ID: <4dPCec$9eQ@bbs.tju.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.neu.edu.cn!news.byr.edu.cn!TJU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,4c1ea41c3b20ca18
X-Google-Attributes: gidf6cb0,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news.neu.edu.cn!news.byr.edu.cn!TJU
From: sadman.bbs@bbs.tju.edu.cn.no.spam (��ң)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ����interface��һ������
Date: 11 Dec 2008 23:35:02 GMT
Organization: �����ʵBBSվ
Message-ID: <4dPCec$9eQ@bbs.tju.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1229038502.A