第16章 Simple Input and Output.ppt

第16章 Simple Input and Output

Chapter 16 Simple Input and Output Key Terms binary I/O 二进制输入输出 text I/O 文本输入输出 serialization 序列化(持久化) random access file 随机访问文件 sequential access file 顺序访问文件 file pointer 文件指针 stream 流 The File Class The File class is intended to provide an abstraction that deals with most of the machine-dependent complexities of files and path names in a machine-independent fashion. The filename is a string. The File class is a wrapper class for the file name and its directory path. Obtaining file properties and manipulating file File Constructors public File(String pathname) Creates a File o

文档评论(0)

1亿VIP精品文档

相关文档