Re: 請問一下能回傳一個陣列嗎?

看板java作者時間19年前 (2006/05/13 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
> class a { > byte[] t = new byte[32]; > public a(){ > t = function(); > } > public byte[] function(){ > byte p = new byte[32]; 如果是 byte[] p 就可以                                                          > return p; > } > } > 請問這樣可以回傳嗎?                                     -- "There are no differences but differences of degree between different degrees of difference and no difference at all." - William James, under the influence of nitrous oxide. -- 芭樂的故鄉 bala.twbbs.org From:sw169-236-114.adsl.seed.net.tw
文章代碼(AID): #14PCru00 (java)
文章代碼(AID): #14PCru00 (java)