Title: ObjectInputStream in Java | Java Tutorials | CodeMistic
Description: The objectinputstream class is mainly used to deserialize the primitive data and objects which are written by using ObjectOutputStream. ObjectInputStream can also be used to pass the objects between hosts by using a SocketStream. The objects which implement Serializable or Externalizable interface can only be read using ObjectInputStream. Consider the following line of code to read an object from the file which was previously written by using ObjectOutputStream.
Keywords:
Domain: codemistic.github.io
Links:
Viewport: width=device-width, initial-scale=1.0