print 與println 是將val 值的每個字元都轉成可讀的 ASCII 字元後才輸出, 而write 則是直接以二進位碼(即byte) 輸出. 亦即, print/println 處理的是字串, ...
確定! 回上一頁