<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0072)http://dev.csdn.net/author/beepbug/f5c70b05579f46d4996ce9da4f75dbc0.html -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Java对象及其引用 - java - CSDN技术中心</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=Content-Language content=zh-CN>
<META content=Csdn name=author>
<META content=Csdn name=Copyright>
<META content=CSDN技术中心 name=description>
<META content="CSDN.NET - 中国最大的开发者网络,为开发人员和相关企业提供全面的信息服务和技术服务,CSDN技术中心"
name=keywords><LINK media=all href="Java对象及其引用 - java - CSDN技术中心.files/main.css"
type=text/css rel=stylesheet><LINK media=all
href="Java对象及其引用 - java - CSDN技术中心.files/style.css" type=text/css
rel=stylesheet><LINK media=all
href="Java对象及其引用 - java - CSDN技术中心.files/comment.css" type=text/css
rel=stylesheet><!--MetaUI_Author:CHONGCHONG2008-XINER_MSN:chongchong2008@msn.com_UI Start-->
<META content=关于对象与引用之间的一些基本概念。 name=Description>
<META content=zh-CN name=MS.LOCALE>
<META content=会响的虫 name=Author>
<META content="Mon, 14 Aug 2006 17:18:32 GMT" name=Search.PublishDate>
<META content="" name=Search.RevisedDate>
<META content=kbArticle name=Search.TopicType>
<META content="100 %" name=Search.UserRating><!--MetaUI_Author:CHONGCHONG2008-XINER_MSN:chongchong2008@msn.com_UI End-->
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<FORM id=aspnetForm name=aspnetForm
action=../../Article.aspx?ArticleID=f5c70b05579f46d4996ce9da4f75dbc0
method=post>
<DIV><INPUT id=__VIEWSTATE type=hidden
value=/wEPDwUJNzE4MjIyMzMzZGQVU/aVa7VIxf0jah8fDTZ9PPwvCA== name=__VIEWSTATE>
</DIV><!-- 公共页头 -->
<STYLE>#CHBig {
CLEAR: both; MARGIN-TOP: auto; FONT-SIZE: 12px; MARGIN-LEFT: auto; WIDTH: 1000px; MARGIN-RIGHT: auto; BORDER-BOTTOM: #4682b4 3px solid; FONT-FAMILY: Tahoma, sans-serif; TEXT-ALIGN: left
}
#CHBigCSDNLogo {
FLOAT: left; HEIGHT: 60px
}
#CHBigHeaderWrapper {
FLOAT: right; WIDTH: 620px; HEIGHT: 60px
}
#CHBigFuncBar {
BACKGROUND-POSITION: right top; PADDING-LEFT: 24px; BACKGROUND-IMAGE: url(http://www.csdn.net/Images/BgTopTop.gif); LINE-HEIGHT: 20px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 20px
}
#CHBigFuncBar UL {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
#CHBigFuncBar LI {
PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none
}
#CHBigFuncBar LI A {
BORDER-RIGHT: #fff 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #fff 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; BORDER-LEFT: #fff 1px solid; COLOR: #036; PADDING-TOP: 0px; BORDER-BOTTOM: #fff 1px solid; TEXT-DECORATION: none
}
#CHBigFuncBar LI A:hover {
BORDER-RIGHT: #369 1px solid; BORDER-TOP: #369 1px solid; BORDER-LEFT: #369 1px solid; COLOR: #369; BORDER-BOTTOM: #369 1px solid; TEXT-DECORATION: none
}
#CHBigNavBar1 {
LINE-HEIGHT: 20px; HEIGHT: 20px
}
#CHBigNavBar1 UL {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; BACKGROUND-COLOR: #fff; TEXT-ALIGN: right
}
#CHBigNavBar1 LI {
PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none
}
#CHBigNavBar1 LI A {
PADDING-RIGHT: 7px; PADDING-LEFT: 7px; PADDING-BOTTOM: 2px; BORDER-LEFT: #fff 1px solid; COLOR: #fff; PADDING-TOP: 2px; BORDER-BOTTOM: #4682b4 1px solid; BACKGROUND-COLOR: #4682b4; TEXT-DECORATION: none
}
#CHBigNavBar1 LI A:hover {
COLOR: #fff; BORDER-BOTTOM: #369 1px solid; BACKGROUND-COLOR: #369
}
#CMnav {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; LIST-STYLE-TYPE: none; TEXT-ALIGN: right
}
#CMnav UL {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; LIST-STYLE-TYPE: none; TEXT-ALIGN: right
}
#CMnav UL UL {
}
#CMnav A {
DISPLAY: block; COLOR: #036; BACKGROUND-COLOR: #fff; TEXT-DECORATION: none
}
#CMnav A:hover {
COLOR: #4682b4
}
#CMnav A.selected {
}
#CMnav LI {
PADDING-RIGHT: 5px; PADDING-LEFT: 6px; FLOAT: left; MARGIN: 0px; LINE-HEIGHT: 19px; TEXT-ALIGN: left
}
#CMnav LI UL A {
PADDING-LEFT: 5px; WIDTH: 70px; TEXT-ALIGN: left
}
#CMnav LI UL {
LEFT: -999em; WIDTH: 70px; BORDER-BOTTOM: #4682b4 1px solid; POSITION: absolute
}
#CMnav LI LI {
BORDER-BOTTOM: #e8e8e8 1px solid; BACKGROUND-COLOR: #ffffff
}
#CMnav LI UL UL {
}
#CMnav LI:hover UL UL {
LEFT: -999em
}
CMnav LI.sfhover UL UL {
LEFT: -999em
}
#CMnav LI:hover UL {
LEFT: auto
}
#CMnav LI LI:hover UL {
LEFT: auto
}
#CMnav LI.sfhover UL {
LEFT: auto
}
#CMnav LI LI.sfhover UL {
LEFT: auto
}
#CMnav LI:hover {
}
#CMnav LI.sfhover {
}
</STYLE>
<SCRIPT type=text/javascript><!--//--><![CDATA[//><!--
sfHover = function() {
var sfEls = document.getElementById("#CMnav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></SCRIPT>
<DIV style="TEXT-ALIGN: center">
<DIV id=CHBig>
<DIV id=CHBigCSDNLogo><A href="http://dev.csdn.net/"><IMG height=60 alt=中国软件网
src="Java对象及其引用 - java - CSDN技术中心.files/logo_csdn.gif" width=150 border=0><IMG
alt="" src="Java对象及其引用 - java - CSDN技术中心.files/techcenter.jpg"
border=0></A></DIV>
<DIV id=CHBigHeaderWrapper>
<DIV id=CHBigFuncBar>
<UL>
<LI><A href="http://passport.csdn.net/UserLogin.aspx">【登录】</A>
<LI><A
href="http://passport.csdn.net/CSDNUserRegister.aspx">【免费注册】</A></LI></UL></DIV>
<DIV id=CHBigNavBar1>
<UL>
<LI><A href="http://www.csdn.net/" target=_blank>首 页</A>
<LI><A href="http://news.csdn.net/" target=_blank>新 闻</A>
<LI><A href="http://community.csdn.net/" target=_blank>社 区</A>
<LI><A href="http://dev.csdn.net/" target=_blank>文 档</A>
<LI><A href="http://blog.csdn.net/" target=_blank><STRONG>Blog</STRONG></A>
<LI><A href="http://kb.csdn.net/" target=_blank>知识库</A>
<LI><A href="http://dotnet.csdn.net/" target=_blank><B>.NET</B></A>
<LI><A href="http://java.csdn.net/" target=_blank><B>Java</B></A>
<LI><A href="http://mobile.csdn.net/" target=_blank>移 动</A>
<LI><A href="http://gamedev.csdn.net/" target=_blank>游 戏</A>
<LI><A href="http://manager.csdn.net/" target=_blank>管 理</A>
<LI><A href="http://job.csdn.net/" target=_blank>人 才</A>
<LI><A href="http://prj.csdn.net/" target=_blank>外 包</A>
<LI><A href="http://search.csdn.net/" target=_blank>搜 索</A> </LI></UL></DIV>
<DIV id=CMnav>
<UL id=#CMnav>
<LI><A onclick="return false;"
href="http://dev.csdn.net/author/beepbug/f5c70b05579f46d4996ce9da4f75dbc0.html#"> 厂商专区</A>
<UL>
<LI><A href="http://www.csdn.net/ibmc/">IBM专区</A> </LI>
<LI><A
href="http://universalmccannafa.allyes.com/main/adfclick?db=universalmccannafa&bid=382,376,81&cid=30,2,1&sid=820&show=ignore&url=http://msdnportal.csdn.net/">微软专区</A>
</LI>
<LI><A href="http://www.csdn.net/sun/">SUN专区</A> </LI>
<LI><A href="http://intel.csdn.net/">Intel专区</A> </LI>
<LI><A href="http://www.csdn.net/bea/index.htm">BEA专区</A> </LI>
<LI><A href="http://www.telelogic.com/csdn/">Telelogic</A> </LI>
<LI><A href="http://www.csdn.net/ianywhere/ind