JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java Certification » SCJP  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:SCJP閱讀筆記 [Re:garfield0]
farfree





發文: 3
積分: 0
於 2006-01-23 10:20 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝大大的筆記 , 不過我在做底下這個網頁的題目時 , 遇到兩個問題想請問一下大大.
http://www.danchisholm.net/july21/topic/index.html

1
Which of the follow are true statements.

a. A nested class is any class that is declared within the body of another class or interface.
b. A nested class can not be declared within the body of an interface declaration.
c. An inner class is a nested class that is not static.
d. A nested class can not be declared static.
e. A named class is any class that is not anonymous.

答案是ACE
我的問題是出在C , 網頁的說明是 If a member class is not static, then it is an inner class.If a class is not nested, then it is a top level class. A nested class that is static is sometimes referred to as a top level class. 可是大大的筆記把Static Member Class等四種 , 都歸類在inner class底下 , 就讓我很疑惑 , inner class 到底可不可以加上static . 另外我在聖經那本書上看到的事 , 在"技術"的角度來看 , static nested class 並不是inner class , 這答案可更是模糊了.

2.
Which of the follow are true statements.

a. A local class is declared within a method, constructor or block.
b. An anonymous class is always a local class.
c. A local class is a nested class.
d. A local class is a member class.
e. A local class is always a named class.

答案是ACE
問題出在BE主要是大大的筆記讓我覺得有點疑惑 , 因為筆記中有一句 "Anonymous Class 是local class的一種 , 但沒有class name" , 但是網頁的說法是A nested class does not have a name, then it can not be called a local class even if it is declared inside of a block. 兩種說法剛好相反 , 還是我誤解了大大筆記中那句話的意思.


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
okdaeaj





發文: 8
積分: 0
於 2006-01-23 23:45 user profilesend a private message to usersend email to okdaeajreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
太棒了~您整理的真是太太好了~謝謝!感謝!感嗯~^^

reply to postreply to post
Thanks and Best Regards,
→→→→→→→→→→→→→→→→→→→→→→
喜歡一個人,是一種感覺。
不喜歡一個人,卻是事實。
事實容易解釋,感覺卻難以言喻。
記住該記住的,忘記該忘記的。
改變能改變的,接受不能改變的。
失敗者找理由,成功者找方法。
把握當下才是
作者 Re:SCJP閱讀筆記 [Re:farfree]
garfield0





發文: 4
積分: 1
於 2006-01-24 17:54 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
farfree wrote:
感謝大大的筆記 , 不過我在做底下這個網頁的題目時 , 遇到兩個問題想請問一下大大.
http://www.danchisholm.net/july21/topic/index.html

1
Which of the follow are true statements.

a. A nested class is any class that is declared within the body of another class or interface.
b. A nested class can not be declared within the body of an interface declaration.
c. An inner class is a nested class that is not static.
d. A nested class can not be declared static.
e. A named class is any class that is not anonymous.

答案是ACE
我的問題是出在C , 網頁的說明是 If a member class is not static, then it is an inner class.If a class is not nested, then it is a top level class. A nested class that is static is sometimes referred to as a top level class. 可是大大的筆記把Static Member Class等四種 , 都歸類在inner class底下 , 就讓我很疑惑 , inner class 到底可不可以加上static . 另外我在聖經那本書上看到的事 , 在"技術"的角度來看 , static nested class 並不是inner class , 這答案可更是模糊了.

2.
Which of the follow are true statements.

a. A local class is declared within a method, constructor or block.
b. An anonymous class is always a local class.
c. A local class is a nested class.
d. A local class is a member class.
e. A local class is always a named class.

答案是ACE
問題出在BE主要是大大的筆記讓我覺得有點疑惑 , 因為筆記中有一句 "Anonymous Class 是local class的一種 , 但沒有class name" , 但是網頁的說法是A nested class does not have a name, then it can not be called a local class even if it is declared inside of a block. 兩種說法剛好相反 , 還是我誤解了大大筆記中那句話的意思.


Inner Calss到底可不可以加上static這個問題,簡單的說就是..
● Inner Class可以使用static修飾子(類別成員)
● Inner Class之中的成員若要使用static修飾子,則該Inner Class必須也是static
● Inner Class中若要使用外部類別的類別成員,則該Inner Class必須也是static

Anonymous class也是一個類別,也是屬於區域式的Inner Class,只是沒有名字。
依Inner Class宣告的位置,大致上可以分為兩種:
● 類別成員式的,就是像屬性、方法一樣,把一個類別宣告為另一個類別的成員
● 區域式的,也就是把類別宣告在一個方法之中
可以再依存在範圍(scope)分為四種:
● Static Member Class 類別等級(成員式)
● Member Class 物件等級(成員式)
● Local Class 區域變數等級)(區域式)
● Anonymous Class 匿名等級(區域式)

以上是從書中節錄下來的內容,希望有所幫助囉~


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
iamsheny





發文: 2
積分: 0
於 2006-02-10 13:43 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
很用心的筆記哦!!!謝謝~~Big Smile

reply to postreply to post
-----------------------------------
給我無上的精神糧食....
作者 Re:SCJP閱讀筆記 [Re:garfield0]
whl1231





發文: 3
積分: 0
於 2006-02-15 09:44 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝
我會努力看的!!
推~~


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
fiance555





發文: 1
積分: 0
於 2006-03-02 20:48 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝分享...
真是很好的筆記... ^_^


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
chrase1





發文: 10
積分: 0
於 2006-03-03 17:55 user profilesend a private message to usersend email to chrase1reply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
THX分享

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
martin0217





發文: 39
積分: 1
於 2006-03-05 11:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感恩~~感恩~~

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
fenix83119





發文: 3
積分: 0
於 2006-03-11 02:14 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝提供!!

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
ghost2002





發文: 1
積分: 0
於 2006-03-24 00:38 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝你用心的製作!

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
assessa





發文: 12
積分: 0
於 2006-03-26 20:05 user profilesend a private message to usersend email to assessareply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝你唷....

reply to postreply to post
為人不可貪,為商不可奸,若想做善事,手中先有錢
作者 Re:SCJP閱讀筆記 [Re:garfield0]
geminigrant





發文: 1
積分: 0
於 2006-03-29 20:12 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感恩!!

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
nanana10374





發文: 1
積分: 0
於 2006-04-08 11:28 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝~~SmileSmile

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
Fighterman





發文: 2
積分: 0
於 2006-04-10 11:21 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
一起努力.....
感恩


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
梦幻闪电





發文: 2
積分: 0
於 2006-04-10 20:47 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感谢你的分享,好东西阿~

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
阿ken





發文: 1
積分: 0
於 2006-04-16 15:53 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我還是新手 現在還在探索 到底要如何去閱讀java 努力的去考到scjp
謝謝提供題庫 我會繼續加油Dead


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
kongyeah





發文: 3
積分: 0
於 2006-04-17 12:02 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
對於入門者來說要準備真的很難

感謝您的無私分享 給了我一個明確的指引

真是太棒啦~~Big Smile


kongyeah edited on 2006-05-24 17:47
reply to postreply to post
Kongyeah's Website
http://www.kongyeah.net
作者 Re:SCJP閱讀筆記 [Re:garfield0]
roylw





發文: 2
積分: 0
於 2006-04-19 10:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
准备冲刺中,这段时间会经常来,谢谢各位

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
a63801





發文: 1
積分: 0
於 2006-04-19 13:42 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
剛好救急
感謝分享


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
hill83





發文: 1
積分: 0
於 2006-04-20 09:53 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝大大的分享,翻著厚厚的書,真的很難一下就整理出來重點
感謝~~


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
hill





發文: 59
積分: 0
於 2006-05-01 18:45 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝分享
正努力以赴
預定5 OR 6 月 底 去考
正準備要考的 ....大家彼此加油吧 !!!


reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
v8088





發文: 1
積分: 0
於 2006-05-08 15:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
先從初級的開始..謝謝分享..!!

reply to postreply to post
作者 Re:SCJP閱讀筆記 [Re:garfield0]
yandm





發文: 2
積分: 0
於 2006-05-09 06:13 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我也要努力加油了
朝pass邁進
感謝作者大大


reply to postreply to post
好地方 好東西多 好人更多
新手上路 請多指教^^

嘗試是成功的開始 懈怠是失敗的徵兆
作者 Re:SCJP閱讀筆記 [Re:garfield0]
phoenix_shing

Java狂人



發文: 43
積分: 0
於 2006-05-27 17:26 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝這位提供筆記的前輩,拜這份筆記之賜,我在今天也順利通過SCJP 1.4,在此致上最深的謝意!

reply to postreply to post
忘心無我欲沉醉
情遊Java笑.NET
丁丁不識編程趣
臥看DP現雲蹤
作者 Re:SCJP閱讀筆記 [Re:garfield0]
java2006





發文: 1
積分: 0
於 2006-05-31 15:44 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我現在看完前進JAVA,想去考試
感謝分享


reply to postreply to post
(Total 21 pages)  
go to first page go to previous page  6   7   8   9   10   11   12   13   14   15   16  go to next page go to last page
» JWorld@TW »  Java Certification » SCJP

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8