📄 scjp 的一些笔记.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0071)http://www.spoto.net/bbs/viewthread.php?tid=12957&page=1&extra=page%3D1 -->
<HTML><HEAD><TITLE>scjp 的一些笔记,大家去参考,题目经常遇到的 - Java Technology - IT雏鹰部落 - IT初学者之家</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gbk">
<META content="Discuz!,Board,Comsenz,forums,bulletin board," name=keywords>
<META content="IT雏鹰部落 - Discuz! Board" name=description>
<META content="MSHTML 6.00.2900.3086" name=GENERATOR>
<META content=TRUE name=MSSmartTagsPreventParsing>
<META http-equiv=MSThemeCompatible content=Yes><LINK title=IT雏鹰部落
href="http://www.spoto.net/bbs/archiver/" rel=archives><LINK id=css
href="scjp 的一些笔记.files/style_2.css" type=text/css rel=stylesheet>
<SCRIPT src="scjp 的一些笔记.files/common.js" type=text/javascript></SCRIPT>
<SCRIPT src="scjp 的一些笔记.files/menu.js" type=text/javascript></SCRIPT>
<SCRIPT src="scjp 的一些笔记.files/ajax.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>var IMGDIR = 'images/263red';var SMDIR = 'images/smilies';</SCRIPT>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;">
<CENTER>
<CENTER>
<DIV style="FONT: 9pt Tahoma, Verdana; WIDTH: 98%; PADDING-TOP: 5px">
<DIV
style="PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; HEIGHT: 60px; TEXT-ALIGN: left"><A
href="http://www.spoto.net/bbs/index.php"><IMG alt=IT雏鹰部落
src="scjp 的一些笔记.files/logo.gif" border=0></A> </DIV></DIV>
<DIV class=headermenu>
<DIV
style="BACKGROUND: url(images/263red/top_02.gif); FONT: 9pt Tahoma, Verdana; WIDTH: 98%; HEIGHT: 50px">
<DIV style="FLOAT: right"><IMG src="scjp 的一些笔记.files/top_03.gif"></DIV>
<DIV style="FLOAT: left"><IMG src="scjp 的一些笔记.files/top_01.gif"></DIV>
<DIV id=menu style="PADDING-TOP: 20px; HEIGHT: 50px"><SPAN class=bold>游客:
</SPAN><A href="http://www.spoto.net/bbs/register.php">注册</A> | <A
href="http://www.spoto.net/bbs/logging.php?action=login">登录</A> | <A
href="http://www.spoto.net/bbs/member.php?action=list">会员</A> | <A
href="http://www.spoto.net/bbs/faq.php">帮助</A> </DIV></DIV></DIV>
<DIV style="CLEAR: both"></DIV>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="1%"><IMG src="scjp 的一些笔记.files/m_left.gif"></TD>
<TD align=middle width="98%">
<DIV class=maintable><BR>
<DIV class="subtable nav" style="WIDTH: 100%"><A
href="http://www.spoto.net/bbs/index.php">IT雏鹰部落</A> » <A
href="http://www.spoto.net/bbs/forum-71-1.html">Java Technology</A> » scjp
的一些笔记,大家去参考,题目经常遇到的</DIV><BR></DIV>
<DIV class=maintable>
<TABLE style="CLEAR: both" cellSpacing=0 cellPadding=0 width="100%"
align=center>
<TBODY>
<TR>
<TD vAlign=bottom>
<DIV style="MARGIN-BOTTOM: 5px"><A style="FONT-WEIGHT: normal"
href="http://www.spoto.net/bbs/redirect.php?fid=71&tid=12957&goto=nextoldset">‹‹
上一主题</A> | <A style="FONT-WEIGHT: normal"
href="http://www.spoto.net/bbs/redirect.php?fid=71&tid=12957&goto=nextnewset">下一主题
››</A><BR></DIV></TD>
<TD vAlign=bottom align=right width="40%">
<DIV class=right> <A
href="http://www.spoto.net/bbs/post.php?action=reply&fid=71&tid=12957&extra=page%3D1"><IMG
alt="" src="scjp 的一些笔记.files/reply.gif" border=0></A></DIV>
<DIV class=right id=newspecialheader
onmouseover=showMenu(this.id)><A
href="http://www.spoto.net/bbs/post.php?action=newthread&fid=71&extra=page%3D1"><IMG
alt="" src="scjp 的一些笔记.files/newtopic.gif" border=0></A><A
href="http://www.spoto.net/bbs/viewthread.php?tid=12957&page=1&extra=page%3D1###"></A></DIV>
<DIV class="popupmenu_popup newspecialmenu" id=newspecialheader_menu
style="DISPLAY: none">
<TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD class=popupmenu_option>
<DIV class=newspecial><A
href="http://www.spoto.net/bbs/post.php?action=newthread&fid=71&extra=page%3D1&poll=yes">投票</A></DIV></TD></TR>
<TR>
<TD class=popupmenu_option>
<DIV class=newspecial><A
href="http://www.spoto.net/bbs/post.php?action=newthread&fid=71&extra=page%3D1&trade=yes">交易</A></DIV></TD></TR>
<TR>
<TD class=popupmenu_option>
<DIV class=newspecial><A
href="http://www.spoto.net/bbs/post.php?action=newthread&fid=71&extra=page%3D1&reward=yes">悬赏</A></DIV></TD></TR>
<TR>
<TD class=popupmenu_option>
<DIV class=newspecial><A
href="http://www.spoto.net/bbs/post.php?action=newthread&fid=71&extra=page%3D1&activity=yes">活动</A></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV>
<SCRIPT type=text/javascript>function fastreply(subject) {if($('postform')) {$('postform').subject.value = subject;$('postform').message.focus();}}</SCRIPT>
<DIV class=maintable>
<DIV class=spaceborder style="WIDTH: 100%; BORDER-BOTTOM: medium none">
<TABLE cellSpacing=0 cellPadding=5 width="100%" align=center>
<TBODY>
<TR class=header>
<TD style="COLOR: #ffffff" colSpan=2>
<DIV class=right style="FONT-WEIGHT: normal"><A
href="http://www.spoto.net/bbs/viewthread.php?action=printable&tid=12957"
target=_blank>打印</A> | <A
href="http://www.spoto.net/bbs/misc.php?action=emailfriend&tid=12957">推荐</A>
| <A id=ajax_subscription onclick="ajaxmenu(event, this.id)"
href="http://www.spoto.net/bbs/my.php?item=subscriptions&subadd=12957">订阅</A>
| <A id=ajax_favorite onclick="ajaxmenu(event, this.id)"
href="http://www.spoto.net/bbs/my.php?item=favorites&tid=12957">收藏</A>
</DIV>标题: [原创] scjp 的一些笔记,大家去参考,题目经常遇到的</TD></TR></TBODY></TABLE></DIV>
<FORM name=delpost
action=topicadmin.php?action=delpost&fid=71&tid=12957&page=1
method=post><INPUT type=hidden value=ee9f47bc name=formhash>
<DIV class=spaceborder
style="BORDER-TOP: medium none; MARGIN-BOTTOM: 4px; WIDTH: 100%">
<TABLE class=t_row cellSpacing=0 cellPadding=5 width="100%"
align=center><TBODY>
<TR style="HEIGHT: 100%">
<TD class=t_user vAlign=top width="18%"><A name=pid71957></A><A
class=bold href="http://www.spoto.net/bbs/space-uid-4334.html"
target=_blank>allen_su</A> <BR>
<DIV class=smalltxt>中级会员<BR><IMG alt="Rank: 4"
src="scjp 的一些笔记.files/star_level2.gif"><IMG alt="Rank: 4"
src="scjp 的一些笔记.files/star_level1.gif"><BR><BR>
<TABLE style="TABLE-LAYOUT: fixed; OVERFLOW: hidden" cellSpacing=0
cellPadding=0 width="95%" border=0>
<TBODY>
<TR>
<TD align=middle>
<DIV class=avatar style="WIDTH: 120px"><IMG height=120 alt=""
src="scjp 的一些笔记.files/4334_2007441013970215.jpg" width=120
border=0></DIV></TD></TR></TBODY></TABLE><BR>UID 4334<BR>精华 0<BR>积分
888<BR>帖子 81<BR>阅读权限 30<BR>注册 2006-10-22<BR>状态 离线 </DIV></TD>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px"
vAlign=top width="82%">
<TABLE class=t_msg cellSpacing=0 cellPadding=5 border=0>
<TBODY>
<TR>
<TD>
<DIV>
<DIV class="right t_number"><A class=bold title=复制帖子链接到剪贴板
onclick="setcopy('http://www.spoto.net/bbs/viewthread.php?tid=12957&page=1#pid71957', '已经复制到剪贴板')"
href="http://www.spoto.net/bbs/viewthread.php?tid=12957&page=1&extra=page%3D1###">#1</A></DIV>
<DIV class=right style="PADDING-TOP: 5px"><A
href="http://www.spoto.net/bbs/magic.php?action=user&pid=71957"
target=_blank>使用道具</A> </DIV>
<DIV style="PADDING-TOP: 5px">发表于 2007-5-15 20:29 <A
href="http://www.spoto.net/bbs/profile-uid-4334.html"
target=_blank>资料</A> <A title=allen_su的个人空间
href="http://www.spoto.net/bbs/space-uid-4334.html"
target=_blank>个人空间</A> <A
href="http://www.spoto.net/bbs/pm.php?action=send&uid=4334"
target=_blank>短消息</A> <A id=ajax_buddy_0
onclick="ajaxmenu(event, this.id)"
href="http://www.spoto.net/bbs/memcp.php?action=buddylist&newbuddyid=4334&buddysubmit=yes"
target=_blank>加为好友</A> </DIV></DIV></TD></TR>
<TR>
<TD class=line style="PADDING-TOP: 10px" vAlign=top
height="100%">
<DIV style="FLOAT: right" align=right><A title="评分 0"
href="http://www.spoto.net/bbs/misc.php?action=viewratings&tid=12957&pid=71957"></A></DIV><SPAN
class=bold>scjp 的一些笔记,大家去参考,题目经常遇到的</SPAN><BR><BR>
<DIV class=t_msgfont id=message71957><FONT color=#000000><FONT
face=Verdana><FONT face=Verdana><FONT
size=3>1.</FONT></FONT><BR></FONT><FONT face=宋体><FONT
size=3>常量的声明</FONT></FONT><FONT face=Verdana><FONT size=3>:
public static final</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>native </FONT><FONT
face=宋体>只能修饰本地方法</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>abstract </FONT><FONT
face=宋体>修饰抽象类</FONT><FONT face=Verdana>,</FONT><FONT
face=宋体>抽象方法</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>private ,protected
</FONT><FONT face=宋体>修饰类</FONT><FONT
face=Verdana>,</FONT><FONT
face=宋体>成员</FONT></FONT></FONT><BR><FONT face=Verdana><FONT
size=3><FONT
color=#000000>5.ClassCaseException</FONT></FONT></FONT><BR><FONT
face=Verdana><FONT size=3><FONT color=#000000>6,Date
,DateFormat,Locale</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>7.private</FONT><FONT
face=宋体>修饰的变量</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>8.Private</FONT><FONT
face=宋体>修饰的变量只能由父类可以访问</FONT><FONT
face=Verdana>.</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>9.has-a </FONT><FONT
face=宋体>表示全局的属性关系</FONT></FONT></FONT><BR><FONT size=3><FONT
color=#000000><FONT face=Verdana>10.hasCode</FONT><FONT
face=宋体>方法的意思</FONT><FONT face=Verdana>,</FONT><FONT
face=宋体>与</FONT><FONT face=Verdana>hashMap</FONT><FONT
face=宋体>的关系</FONT></FONT></FONT><BR><FONT size=3><FONT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -