@backstreetbrogrammer
--------------------------------------------------------------------------------
Chapter 08 - Serialization with Java Objects as Collection
--------------------------------------------------------------------------------
If we have a collection (List, Set, etc) of a serializable class objects, the whole collection can be serialized in one go by just calling writeObject() method from ObjectOutputStream class.
We need to ensure that every element in the collection is Serializable, otherwise the serialization will fail.
Similarly, while deserialization, the whole collection object can be read by calling readObject() method from ObjectInputStream class.
Java Serialization Playlist: • Java Serialization
Java Serialization Github: https://github.com/backstreetbrogramm...
Dynamic Programming Playlist: • Dynamic Programming
Dynamic Programming Github: https://github.com/backstreetbrogramm...
#java #javadevelopers #javaprogramming #javaserialization
On this page of the site you can watch the video online 21 - Java Serialization with Java Objects as Collection - Code Demo with a duration of hours minute second in good quality, which was uploaded by the user Rishi Srivastava 27 November 2022, share the link with friends and acquaintances, this video has already been watched 65 times on youtube and it was liked by 1 viewers. Enjoy your viewing!