🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ����

#22107
From: ����ů���˸��㣬ʫ�������
Date: Wed, 22 Oct 2003 04:41
20 lines
1846 bytes
��Ȼ�����?����Ƚϵ��������ַ������ֵ��ֻҪsymbol��ָ�򡰣������϶�����
false���������Ҫ��String��equals����������compareTo�����ԡ�
���ﻹ��һ��С���ţ��ѳ���д��ǰ�棬���������жϿ�������д
    if ( "+".equals( symbol ) ) .....
������Ա�����symbol�Ƿ�Ϊnull���жϣ�����RunTime Exception�Ŀ����ԣ����ӳ���
�Ľ�׳�ԡ�
�� �� zhhaiya (yaya) �Ĵ������ᵽ: ��
: 
: ����IJ���Ϊ��Ķ��󣬷���ֵ�ܷ�ҲΪ��Ķ���
: 
: 
: ��if�������symbol=="+")����String Symbol������


--
Ϊʲô�ҵ����ﳣ����ˮ��
��Ϊ�Ҷ������ذ��������
����֮�����������
��ɽ֮ˮ��������Դ��
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 16.130.26.148]
Technical Details
Message-ID: <48kBYN$AOG@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsgate.cuhk.edu.hk!news.zixia.net!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,d658fd3207f5be68,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-10-28 06:54:51 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsgate.cuhk.edu.hk!news.zixia.net!news.ccie.net.cn!SJTU
From: henanren.bbs@bbs.sjtu.edu.cn (����ů���˸��㣬ʫ�������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ����
Date: 22 Oct 2003 04:41:27 GMT
Organization: ��ˮ˼Դ
Message-ID: <48kBYN$AOG@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1066797431.A
Lines: 20