正在加载图片...
Chapter 11 Objectives After, you have read and studied this chapter, you shoula be able to e Include a File Dialog object in your program to let the user specify a file. e Write bytes to a file and read them back from the file using FileOutputstream and FileInputStream e Write values of primitive data types to a file and read them back from the file using dataOutputStream and DataInputstream e Write text data to a file and read them back from the file using printWriter and BufferedReader. Write objects to a file and read them back from the file using Objectoutputstream and ObjectInputstream Write exception-handling routines using the try-catch block C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 11-2© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 11 - 2 Chapter 11 Objectives After you have read and studied this chapter, you should be able to Include a FileDialog object in your program to let the user specify a file. Write bytes to a file and read them back from the file using FileOutputStream and FileInputStream. Write values of primitive data types to a file and read them back from the file using DataOutputStream and DataInputStream. Write text data to a file and read them back from the file using PrintWriter and BufferedReader. Write objects to a file and read them back from the file using ObjectOutputStream and ObjectInputStream. Write exception-handling routines using the try–catch block
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有