看板 [ java ]
討論串[問題] OCJP SE6題目 - enum
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 16→)留言16則,0人參與, 最新作者uopsdod (pcman)時間8年前 (2017/02/19 19:02), 8年前編輯資訊
0
0
0
內容預覽:
Given:. enum Example {ONE, TWO, THREE}. Which statement is true?. A. The expressions (ONE == ONE) and ONE.equals(ONE) are both guaranteed to be. true.
(還有798個字)

推噓1(1推 0噓 3→)留言4則,0人參與, 最新作者violet90079 (ˊ__>ˋ)時間8年前 (2017/02/20 00:19), 編輯資訊
0
0
1
內容預覽:
看一下父類別的原始碼其實不難理解. http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Enum.java. Enum 除實作 java.lang.Comparable<E> 外
(還有26個字)
首頁
上一頁
1
下一頁
尾頁