Re: [問題] 請問interface到底是做什麼用的?

看板java作者 (骨頭)時間19年前 (2006/04/14 12:23), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/33 (看更多)
※ 引述《qrtt1 (隱者)》之銘言: : ※ 引述《kazenol (隨便啦)》之銘言: : : 要寫自己的方法。 : 試著寫寫Swing : 有許多用到"介面多重繼承的機會" : 先去用這樣的成品 : 再來想他的模型 對 比方說每一個GUI的 ActionListener MouseListener 幾乎都是不一樣的 這時候這種機制就很重要~ -- 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.57
文章代碼(AID): #14FoFRWs (java)
討論串 (同標題文章)
文章代碼(AID): #14FoFRWs (java)