Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:创建String对象的问题 [Re:javahum]
Jcat

熊猫的猫



发贴: 266
积分: 16
于 2005-12-18 20:10 user profilesend a private message to usersend email to Jcatsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
equals( )出生时与==是等价的

Object类中对equals的定义
The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any non-null reference values x and y, this method returns true if and only if x and y refer to the same object (x == y has the value true).
可以理解为它们都是在比较“引用”


Jcat edited on 2005-12-18 20:27

编程,游泳,睡觉--SleepingCat

话题树型展开
人气 标题 作者 字数 发贴时间
12451 创建String对象的问题 javahum 847 2005-12-11 16:58
11950 Re:创建String对象的问题 hamlet 840 2005-12-11 22:00
11157 Re:创建String对象的问题 Jcat 1013 2005-12-18 20:01
11573 Re:创建String对象的问题 Jcat 354 2005-12-18 20:10
11124 Re:创建String对象的问题 Jcat 883 2005-12-18 20:35
10849 Re:创建String对象的问题 andykid 231 2006-01-14 15:41
11255 Re:创建String对象的问题 zcjl 72 2006-01-14 16:16
10867 Re:创建String对象的问题 andykid 17 2006-01-14 17:10
11119 Re:创建String对象的问题 zxasqw 58 2005-12-11 22:21
11175 Re:创建String对象的问题 andykid 318 2005-12-12 22:58
11232 Re:创建String对象的问题 andykid 220 2005-12-12 23:03
11165 Re:创建String对象的问题 andykid 440 2005-12-12 23:11
11182 Re:创建String对象的问题 scarecrow 298 2005-12-14 16:02
11148 Re:创建String对象的问题 andykid 439 2005-12-14 23:52
11115 Re:创建String对象的问题 scarecrow 681 2005-12-15 11:04
11087 Re:创建String对象的问题 andykid 55 2005-12-16 00:01
11121 Re:创建String对象的问题 scarecrow 270 2005-12-16 10:28

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923