看板 [ java ]
討論串[問題] 關於 switch…case
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓4(4推 0噓 1→)留言5則,0人參與, 最新作者PsMonkey (痞子軍團團長)時間18年前 (2007/11/09 21:15), 編輯資訊
0
0
3
內容預覽:
The type of the Expression must be char, byte, short, int,. Character, Byte, Short, Integer, or an enum type (§8.9),. or a compile-time error occurs..
(還有226個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者PinPinky (石化大叔尿尿白濁)時間18年前 (2007/11/09 20:49), 編輯資訊
0
0
0
內容預覽:
假定:. switch (x) {. default :. System.out.println ("Hello");. }. 下列那兩項是 x 可以接受的形態?(選兩項). A. byte. B. char. C. long. D. Long. E. float. F. Short. 我的答案是
(還有543個字)
首頁
上一頁
1
下一頁
尾頁