正在加载图片...
Objectives discover file properties, delete and rename files using the File class 16.2 To understand how I/O is processed in Java(S 16.3) To distinguish between text I/O and binary I/O(8 16.3) To read and write characters using FileReader and FileWriter(8 16.4) To improve the performance of text IO using Buffered Reader and Buffered Writer(816.4) To write primitive values, strings, and objects as text using Print Writer and Printstream(§164) To read and write bytes using FileInputStream and File OutputStream(8 16.6) To read and write primitive values and strings using DataInput Stream/Data QutputStream(8 16.6) To store and restore objects using ObjectOutputStream and ObjectInputStream, and to understand how objects are serialized and what kind of objects can be serialized(s 16.9 Optional) To use the Serializable interface to enable objects to be serializable($ 16.9 Optional) To use RandomAccessFile for both read andweriteal. yu1610 Optional)Liang,Introduction to Java Programming,revised by Dai-kaiyu 2 Objectives To discover file properties, delete and rename files using the File class (§16.2). To understand how I/O is processed in Java (§16.3). To distinguish between text I/O and binary I/O (§16.3). To read and write characters using FileReader and FileWriter (§16.4). To improve the performance of text I/O using BufferedReader and BufferedWriter (§16.4). To write primitive values, strings, and objects as text using PrintWriter and PrintStream(§16.4). To read and write bytes using FileInputStreamand FileOutputStream (§16.6). To read and write primitive values and strings using DataInputStream/DataOutputStream(§16.6). To store and restore objects using ObjectOutputStreamand ObjectInputStream, and to understand how objects are serialized and what kind of objects can be serialized (§16.9 Optional). To use the Serializable interface to enable objects to be serializable (§16.9 Optional). To use RandomAccessFile for both read and write. (§16.10 Optional)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有