1.

If member does not implement serialization, which exception would be thrown?(a) RuntimeException(b) SerializableException(c) NotSerializableException(d) UnSerializedExceptionThis question was posed to me in an internship interview.My question is from Serialization in chapter Serialization & Networking of Java

Answer»

The CORRECT option is (C) NotSerializableException

The EXPLANATION: If member of a class does not implement SERIALIZATION, NotSerializationException will be thrown.



Discussion

No Comment Found

Related InterviewSolutions