Java object stream instance code
•
Java
The date object and vector object are written to a file, then read from the file and output to the screen
Object input stream) can read the original data and types written using the object output stream, and can realize the persistent storage of objects together with the file input and output stream.
Results: fri Jul 24 11:28:01 CST 2015 was successfully constructed (total time: 2 seconds)
But test Txt file is garbled ~ ~ how to break??
summary
The above is all about the Java object flow instance code in this article. I hope it will be helpful to you. Interested friends can continue to refer to other related topics on this site. If there are deficiencies, please leave a message to point out. Thank you for your support!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码