🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: �������⣺����String

#21561
From: �����ơ��������λλ�
Date: Thu, 27 Nov 2003 14:28
20 lines
1429 bytes
void Judge(String s){
if(s==null)
System.out.println("the String is: null");
else if(s.length()==0)
System.out.println("the String is:"+"\"\"");
}

�� �� knotyu (Ali88) �Ĵ������ᵽ: ��
: JAVA�е�һ��String, ��ʲô�������null��ʲô�������"";
: ��ô�ж���null,��ô�ж���""?
: ֪���Ĵ�Ϻָ�̣���


--
      ,,
  ___(  )___
 /          \      ����һֻСС��
/\/\/\||/\/\/\
      ^^
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.19.13]
Technical Details
Message-ID: <49QWj5$ACN@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.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,5a466b532417a751
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-11-27 06:26:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: pwlazy.bbs@bbs.sjtu.edu.cn ( �����ơ��������λλ�)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: �������⣺����String
Date: 27 Nov 2003 14:28:33 GMT
Organization: ��ˮ˼Դ
Message-ID: <49QWj5$ACN@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1069942901.A