println 和print基本沒什麼差別,就是最後會換行. System.out.printf("the number is: d",t); 參照JAVA API的定義如下: 'd' 整數結果被格式化爲十進制 ...
確定! 回上一頁