🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#12578
From: ����
Date: Mon, 26 Jul 2004 04:57
19 lines
1822 bytes
java�е�stringӦ�üȿɿ��������ͣ�����һ���int,char
Ҳ�ɿ�����������
����str1��str2ʱ������ϵͳ��Ϊ��ʹ�õ��dz����ͣ��Ƚ������ַ����
����test1��test2ʱ��ʹ����new�����ڽ����������󣬱Ƚ��������󣬲��ȡ�

�� �� arson. �Ĵ������ᵽ: ��
: ת��վ: TJUBBS!news2.happynet.org!netnews.sdu.edu.cn!SJTU
: ̫�����,��������ò��ûɶ���,ȴ�в�ͬ�ý��...��ţ�˽�����.лл����.
:        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 http://bbs.tju.edu.cn [FROM: 202.113.183.111]
Technical Details
Message-ID: <4DNLBE$A0G@bbs.tju.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!news2.happynet.org!TJUBBS

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!news2.happynet.org!TJUBBS
From: znnren.bbs@bbs.tju.edu.cn.no.spam (����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ̫�����.Ѱ����...
Date: 26 Jul 2004 04:57:02 GMT
Organization: �����ʵBBSվ
Message-ID: <4DNLBE$A0G@bbs.tju.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1090817822.A