资源简介
真正的ssd3 Practical Quiz9 答案,不会出现不能用的问题,刚运行过,可以通过,方便你的学习
代码片段和文件信息
import java.util.*;
import java.io.*;
/**
* This class provides two file I/O methods for handling employee data.
*
* @author BlueDream
* @version 1.0.0
* @see Employee
*/
public class EmployeeFileIO {
/**
* Creates an ArrayList
of Employee
objects
* from a file that contains employee data.
*
* Every line in the specified file should contain three fields: ID name
* and salary of an employee in the following format: ID_name_salary
*
*
* @param filename the name of a file containing employee data.
* @return an ArrayList
of Employee
objects.
* @throws FileNotFoundException if the specified file does not exist.
* @throws IOException if an I/O error occurs.
* @throws NoSuchElementException if the data in t
- 上一篇:android音乐播放器课程设计
- 下一篇:java ATM机
评论
共有 条评论