2010年11月4日 - 常見錯誤1. int a = 2; if (a = 1) System.out.println("a = 1"); else System.out.println(" a != 1); System.out.println("after if : a = "+a);. 執行結果.
ccckmit.wikidot.com