Câu hỏi 241668 - Kỹ thuật lập trình hướng đối tượng - IT07
Đoạn mã sau đây thực hiện gì?
public class XuLyFile{
public void ghiFile( File f, ListArray<SV> lstSV)
throws FileNotFoundException, IOException
{
FileOutputStream fout = new FileOutputStream(f);
ObjectOutputStream out = new ObjectOutputStream(fout);
out.writeObject(lstSV);
out.close();
}
}