|
![]() |
![]() |
![]() |
![]() |
In this chapter, we will see how you can transfer objects to and from a stream. By the end of this chapter you will have learned:
What serialization is and how you make a class serializable.
How to write objects to a file.
What transient fields in a class are.
How to write basic types of data to an object file.
How to implement the Serializable interface.
How to read objects from a file.
How to implement serialization for classes containing objects that are not serializable by default.
![]() |
![]() |
![]() |