🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ̫�����.Ѱ����...

#12488
From: è������ʺ
Date: Mon, 26 Jul 2004 06:25
19 lines
1812 bytes
    java����ַ��Ƿ���һ����������, ÿ����String str = "..."��
�ַ�ֵ��ʱ��,���ڻ�����������Ƿ�����ֵͬ���ַ�, �����,�Ͱ����
���ø��µ�str, �������������str1==str2����true

�� �� arson.bbs@bbs.sjtu.edu.cn (ż�����ϵġ�) �Ĵ������ᵽ: ��
: ̫�����,��������ò��ûɶ���,ȴ�в�ͬ�ý��...��ţ�˽�����.лл����.
:        String str1= ":::", test1;
:        String str2= ":::", test2;
:        String str3="+++",  test3;
:         if (str1==str2) System.out.println("so strange...  "+(str1==str2));
:         test1= new String("ttt");
:         test2= new String("ttt");
:         test3= new String("tttt");
:         System.out.println(test1==test2);
: >>  .................<����ʡ��>............


--
�� ��Դ:���㽭��ѧ���ɰٴ�վ bbs.zju.edu.cn��[FROM: Vigacmoe]
Technical Details
Message-ID: <4DNNIJ$9yV@bbs.zju.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!ZJU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,10848c432c17c37b
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!ZJU
From: Vigacmoe.bbs@bbs.zju.edu.cn (è������ʺ)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ̫�����.Ѱ����...
Date: 26 Jul 2004 06:25:55 GMT
Organization: �㽭��ѧ���ɰٴ�վ
Message-ID: <4DNNIJ$9yV@bbs.zju.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1090822771.A