Article View: cn.bbs.comp.lang.java
Article #12585Re: ̫�����.Ѱ����...
From: ���������˰�,�ڰ���������ɢ
Date: Mon, 26 Jul 2004 05:49
Date: Mon, 26 Jul 2004 05:49
26 lines
2052 bytes
2052 bytes
�����Կ��ɳ����� ���������һ�� String str1 = "1"; String str2 = "1"; System.out.println(str1 == str2); �����false System.out.println(str1.equals(str2)); �����true �� �� znnren �Ĵ������ᵽ: �� : 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; : (��������ʡ��...) -- �����������ˣ������Ҿ������� ��һ�����䣬����һƬ�Ʋ� [1;37m�� ��Դ:�������ʵBBS http://bbs.tju.edu.cn [FROM: 202.108.160.198][m
Technical Details
Message-ID:
<4DNMSN$9qH@bbs.tju.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news3.optonline.net!news.bylinux.net!maily.cic.tsinghua.edu.cn!news2.happynet.org!TJUBBSShow 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!news3.optonline.net!news.bylinux.net!maily.cic.tsinghua.edu.cn!news2.happynet.org!TJUBBS From: ad.bbs@bbs.tju.edu.cn.no.spam (���������˰�,�ڰ���������ɢ) Newsgroups: cn.bbs.comp.lang.java Subject: Re: ̫�����.Ѱ����... Date: 26 Jul 2004 05:49:11 GMT Organization: �����ʵBBSվ Message-ID: <4DNMSN$9qH@bbs.tju.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1090820951.A Lines: 26