Header Ads

  • Breaking Now

    What is serializable interface?

    In java.io package there is an interface called java.io.Serializable, which is a syntactic way of serializing objects. This interface does not define any method. The purpose of serialization is persistence, communication over sockets or RMI. In Object serialization an object can be converted into byte stream and vice versa.

    1 comment:

    1. This is basically marker interface (This type of interfaces tells compiler implementing class needs to be serialized)

      ReplyDelete

    Post Top Ad

    Post Bottom Ad