🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#12519
From: happi
Date: Tue, 27 Jul 2004 00:29
31 lines
1875 bytes
�� �� arson. �Ĵ������ᵽ: ��
: ̫�����,��������ò��ûɶ���,ȴ�в�ͬ�ý��...��ţ�˽�����.лл����.
:        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);:       



         String str1= ":::";
:        String str2= ":::";
�����Dz��Ǵ�������������,��������Ҫ��������������,��������˵,�����ȷҲ���Դ�
������,���� String����primitive ����,
         str1==str2 ������˵Ӧ�ñȽϵ��Ǿ��,��Ȼ�����ʾ�ȽϵIJ��Ǿ��,�Ǿ�˵
��Ҫô�ȽϵIJ��Ǿ��,Ҫôû�д�������!!! 

--
���ư˰��޶��֣���ԯ�س���ʥ�ˡ�






�� ��Դ:���ɽ��ˮ bbs.neu.edu.cn��[FROM: 218.25.92.87]
Technical Details
Message-ID: <4DO3aT$Caz@bbs.neu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!NEU

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!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!NEU
From: happi.bbs@bbs.neu.edu.cn (happi)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ̫�����.Ѱ����...
Date: 27 Jul 2004 00:29:17 GMT
Organization: ��ɽ��ˮ
Message-ID: <4DO3aT$Caz@bbs.neu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: java/M.1090888157.A
Lines: 31