[問題] 老師出的題目 (JAVA大一新手)
題目是:
Description:
Design a class, named ShowInteger, to output the integer 168 and -168 in
decimal, binary, octal, and hexadecimal forms, respectively, by using the
class method toString provided in java.lang.Integer class.
Note:
You have to check the API (Application Program Interface) of
java.lang.Integer by using the J2SE online document.
好像是要用ShowInteger來做檔名對不對?
要從168~ -168隨機取出數字 是嗎?
可是之後我就不會做了..
不知道有哪位大人能幫忙解救ㄧ下@@"
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.118.209.73
→
10/31 23:54, , 1F
10/31 23:54, 1F
→
10/31 23:58, , 2F
10/31 23:58, 2F
→
11/01 00:00, , 3F
11/01 00:00, 3F
推
11/01 00:01, , 4F
11/01 00:01, 4F
→
11/01 00:20, , 5F
11/01 00:20, 5F
→
11/01 01:54, , 6F
11/01 01:54, 6F
推
11/01 19:54, , 7F
11/01 19:54, 7F
→
11/01 20:46, , 8F
11/01 20:46, 8F
→
11/01 20:51, , 9F
11/01 20:51, 9F
→
11/01 21:50, , 10F
11/01 21:50, 10F
→
11/01 22:21, , 11F
11/01 22:21, 11F
推
11/02 01:13, , 12F
11/02 01:13, 12F
推
11/02 01:16, , 13F
11/02 01:16, 13F
→
11/02 01:17, , 14F
11/02 01:17, 14F
推
11/03 13:11, , 15F
11/03 13:11, 15F
推
11/03 13:25, , 16F
11/03 13:25, 16F
→
11/03 13:27, , 17F
11/03 13:27, 17F
→
11/04 07:26, , 18F
11/04 07:26, 18F
→
11/04 20:18, , 19F
11/04 20:18, 19F
推
11/04 21:17, , 20F
11/04 21:17, 20F
推
11/29 01:59, , 21F
11/29 01:59, 21F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):