1.

Which of these is a method of ObjectInput interface used to deserialize an object from a stream?(a) int read()(b) void close()(c) Object readObject()(d) Object WriteObject()I had been asked this question by my college professor while I was bunking the class.This interesting question is from Serialization & Deserialization in section Serialization & Networking of Java

Answer»

Correct ANSWER is (C) Object readObject()

EASY EXPLANATION: None.



Discussion

No Comment Found

Related InterviewSolutions