What is an externalizable interface?

devquora
devquora

Posted On: Feb 22, 2018

 

The externalizable interface is a special type of interface that enables the user to define personalized rules and mechanisms for the purpose of serialization. Users can create their own contracts as well as protocols for serialization. This gives the power of deciding what to store and what not to store in the stream. Here, the user has to mention what they can put in the program as fields and variables explicitly.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java Interview Questions asked in Citibank

    Explain Multi-Threading in Java?

    It is a process in java through which multiple threads can be executed simultaneously. A thread can be explained as a lightweight sub-process, it is the smallest unit of processing. Both multiprocessi...

    Java Interview Questions asked in Citibank

    Explain the internal working of a hash map?

    In Java, A HashMap is a map used to store mappings or links of key-value pairs that works on the hashing principle. It is considered as a data structure that allows us to store objects and retrieve it...