print就是一般的标准输出,但是不换行. println和print基本没什么差别,就是最后会换行. System.out.printf("the number is: d",t);. 参照JAVA API的定义如下:
確定! 回上一頁