JAVA "Network Programming"-Project 2 File Operation-Picture Viewer

JAVA "Network Programming"-Project 2 File Operation-Picture Viewer

1. The purpose of the experiment

Understand IO stream, understand FileInputStream/FileOutputStream byte stream file read and write operations, understand FileReader/FileWriter character stream file read and write operations;
master DataInputStream/DataOutputStream binary file access, master BufferedReader/PrintWriter text file access operations;
master files using File System access; understand how to use Path, Paths, and Files in NIO.2 to perform file operations.

2. Experimental nature

Verification + design experiment

Three, experimental tasks

(1) Write a program to realize a picture browsing program. The program effect reference is shown in the figure below.
Image viewer source code, please click here, you can download the
Insert picture description here
image viewer source code for free after you follow, please click here, you can download it for free after you follow

(2) Write a program, complete the first question in item 1, and use object serialization to save and read student information in the "student information management system".
For the source code of this question, please check the source code of item 1. The item 1 has been completed, and the design of file saving and reading operation is carried out.

Project 1 source code, please click here, after paying attention, you can download it for free

Guess you like

Origin blog.csdn.net/weixin_44652589/article/details/115003109