Java Interview Question | What is Externalization?

preview_player
Показать описание
Externalization in Java is used whenever you need to customize the serialization mechanism. If a class implements an Externalizable interface, then serialization of the object will be done using the method writeExternal(). When an Externalizable object is reconstructed at the receiver’s end, an instance will be created using no-argument constructor and this method is called readExternal().

This basically serves the purpose of custom Serialization, where you can decide what to store in a stream.

#coding #programming #programmer #python #developer #javascript #code #coder #technology #html #computerscience #codinglife #java #webdeveloper #tech #webdevelopment #css #software #softwaredeveloper #webdesign #linux #programmers #codingisfun #softwareengineer #php #programmingmemes #programminglife #machinelearning #development #hacking
Рекомендации по теме
Комментарии
Автор

You just wrote code, you never explained what the concept was. For a video titled "what is externalization", you really missed the mark for people who don't already grasp the concept.

Kalightortaio