看板 [ java ]
討論串[問題] 想請問一下這一段程式碼錯在哪裡?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者PsMonkey (痞子軍團團長)時間15年前 (2010/04/17 17:25), 編輯資訊
0
0
1
內容預覽:
try this:. public String emptyError(){}. the same error message \囧/. and then try this:. public String branchError(){. if(true){. return "\\囧/";. }. }
(還有635個字)

推噓4(4推 0噓 14→)留言18則,0人參與, 最新作者thnestar (峰)時間15年前 (2010/04/17 12:37), 編輯資訊
0
0
0
內容預覽:
44 public String toString(). 45 {. 46 if(imaginary==0). 47 return (real+"");. 48. 49 else if(imaginary<0). 50 return (real+"-"+(imaginary*(-1))+"i");.
(還有153個字)
首頁
上一頁
1
下一頁
尾頁