Re: [問題] ?:問題

看板java作者 (骨頭)時間19年前 (2006/06/19 19:42), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
※ 引述《justinC (無)》之銘言: : ※ 引述《TonyQ (骨頭)》之銘言: : : Java的 ?: 主要使用於傳值 , 而非執行動作..... : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : 主要就這句! : 那像System.out.print應該就是傳回void? : 因為我剛剛試了 : a=(a<1)?System.out.print("yes"):1; println public void println() Terminate the current line by writing the line separator string. The line separator string is defined by the system property line.separator, and is not necessarily a single newline character ('\n'). http://java.sun.com/j2se/1.5.0/docs/api/java/io/PrintStream.html#println() API 有說了 , 參考看看^^ -- String temp="relax"; | Life just like programing while(buringlife) String.forgot(temp); | to be right or wrong while(sleeping) brain.setMemoryOut(); | need not to say stack.push(life.running); | the complier will stack.push(scouting.buck()); | answer your life stack.push(bowling.pratice()); | Bone everything -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.138.240.58
文章代碼(AID): #14beskwL (java)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 5 之 5 篇):
文章代碼(AID): #14beskwL (java)