利用 Scanner讀檔方式 File f = new File(“filename.txt”) ; Scanner sc ; try { sc ... import java.io.File; ...
mail.cmu.edu.tw