看板 java 關於我們 聯絡資訊
※ 引述《slayer.bbs@bbs.wretch.cc (foolish)》之銘言: : ※ 引述《coldoll.bbs@ptt.cc (冷娃娃)》之銘言: : > 疑問: : > 為什麼有時候宣告一個東西 : > 在外面的CLASS宣告一半 : > Frame f; : > 後來在INNER CLASS : > 才宣告完成呢?這是什麼道理 : > f = new Frame("Choice Example"); : 這是lazy initialize : > public static void main(String argv[]) : > { : > new ChoiceExample(argv); : 這是暱名的class : > } : 好像沒有看到inner class @@" 喔喔 不過 public static void main(String argv[]) : > { : > new ChoiceExample(argv); 這是第二個問題喔 第二個問題是 argv是什麼? 不過我看這個問題大家一定覺得沒深度XD -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.232.14.184