The Scanner class is used to read a file. · It is important to enclose the method in a try-catch block to handle the IOException. Example : import java.io.File; ...
確定! 回上一頁