To input data from a file, you use the classes Scanner and FileReader; To detect the end of a file you use hasnext() method of Scanner Class.
確定! 回上一頁