48 - Java Serialization using writeReplace() and readResolve() - Theory
Автор: Rishi’s programming channel
Загружено: 2022-12-29
Просмотров: 235
Описание:
@backstreetbrogrammer
--------------------------------------------------------------------------------
Chapter 19 - Java Serialization using writeReplace() and readResolve() - Theory
--------------------------------------------------------------------------------
The writeReplace() method allows the developer to provide a replacement object that will be serialized instead of the original one.
The writeReplace() method is run before writeObject() and allows us to replace the object that gets serialized.
Similarly, readResolve() method is used during deserialization process to allow the developer to replace the deserialized object by another one of our choice.
The readResolve() method is run after readObject() method is called.
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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: